diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2018-12-23 10:11:11 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-12-23 10:11:11 +0300 |
commit | 39b14c980678279c20aa63591bebdf0f974d7a71 (patch) | |
tree | fc68d8c7baae9765246daa5e73b08910a50ef297 /scss/_card.scss | |
parent | 6a5a1b073d6151f49cded55ea45b4c5a3df858db (diff) |
Blacklist border-radius property (use mixin instead) (#27900)
Diffstat (limited to 'scss/_card.scss')
-rw-r--r-- | scss/_card.scss | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index 377bec0f1a..bbdb15bce5 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -200,10 +200,12 @@ .card-img-top, .card-header { + // stylelint-disable-next-line property-blacklist border-top-right-radius: 0; } .card-img-bottom, .card-footer { + // stylelint-disable-next-line property-blacklist border-bottom-right-radius: 0; } } @@ -213,10 +215,12 @@ .card-img-top, .card-header { + // stylelint-disable-next-line property-blacklist border-top-left-radius: 0; } .card-img-bottom, .card-footer { + // stylelint-disable-next-line property-blacklist border-bottom-left-radius: 0; } } @@ -283,24 +287,22 @@ &:not(:first-of-type) { .card-header:first-child { - border-radius: 0; + @include border-radius(0); } &:not(:last-of-type) { border-bottom: 0; - border-radius: 0; + @include border-radius(0); } } &:first-of-type { border-bottom: 0; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; + @include border-bottom-radius(0); } &:last-of-type { - border-top-left-radius: 0; - border-top-right-radius: 0; + @include border-top-radius(0); } .card-header { |