]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Workaround for the image size bug in IE (#28855)
authorShohei Yoshida <ysds.code@gmail.com>
Tue, 4 Jun 2019 07:25:19 +0000 (16:25 +0900)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 18 Jun 2019 12:02:58 +0000 (15:02 +0300)
scss/_card.scss

index c0b2078c1c76d5a1ec76c1cdf78c7bacb6c868a7..52df99a3948a7de16d04233987199f4c5984dbce 100644 (file)
@@ -35,6 +35,9 @@
   // Enable `flex-grow: 1` for decks and groups so that card blocks take up
   // as much space as possible, ensuring footers are aligned to the bottom.
   flex: 1 1 auto;
+  // Workaround for the image size bug in IE
+  // See: https://github.com/twbs/bootstrap/pull/28855
+  min-height: 1px;
   padding: $card-spacer-x;
   color: $card-color;
 }