aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-05-08 13:24:45 -0700
committerMark Otto <[email protected]>2016-05-08 13:24:45 -0700
commit83182ad82e19d63e6e6571ba93383217382905db (patch)
treecabeaf093a02989679a186cac83ed8e66730f689
parentadbb7bb7073fc379387b03f1594df1f534abd144 (diff)
downloadbootstrap-83182ad82e19d63e6e6571ba93383217382905db.tar.xz
bootstrap-83182ad82e19d63e6e6571ba93383217382905db.zip
Jank card borders were too janky
- Drops the experiment I had going for `box-shadow`-powered borders - Reinstates regular `border` using existing variables Fixes #19097 and #19143. Nullifies #19828.
-rw-r--r--scss/_card.scss3
1 files changed, 1 insertions, 2 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index 856d6c634..9fad843f7 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -9,8 +9,7 @@
background-color: $card-bg;
// border: $card-border-width solid $card-border-color;
@include border-radius($card-border-radius);
- // Doesn't use mixin so that cards always have a "border"
- box-shadow: inset 0 0 0 $card-border-width $card-border-color;
+ border: $card-border-width solid $card-border-color;
}
.card-block {