From: Mark Otto Date: Sun, 8 May 2016 20:24:45 +0000 (-0700) Subject: Jank card borders were too janky X-Git-Tag: v4.0.0-alpha.3~106^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F19861%2Fhead;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/scss/_card.scss b/scss/_card.scss index 856d6c6349..9fad843f7f 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 {