]> 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, 4 Jun 2019 07:25:19 +0000 (10:25 +0300)
scss/_card.scss

index aa80739a7af60ab5a87938ee45535767ec7c0e2b..0369bb3876abf80c659a89b4962bc168ecff75dd 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;
 }