]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Jank card borders were too janky 19861/head
authorMark Otto <markd.otto@gmail.com>
Sun, 8 May 2016 20:24:45 +0000 (13:24 -0700)
committerMark Otto <markd.otto@gmail.com>
Sun, 8 May 2016 20:24:45 +0000 (13:24 -0700)
- Drops the experiment I had going for `box-shadow`-powered borders
- Reinstates regular `border` using existing variables

Fixes  #19097 and #19143. Nullifies #19828.

scss/_card.scss

index 856d6c6349cfbb6588bf4cdd763b590fa7b83773..9fad843f7fac21d74f04efe2188d6bc1cc9220e4 100644 (file)
@@ -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 {