aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShohei Yoshida <[email protected]>2019-06-04 16:25:19 +0900
committerXhmikosR <[email protected]>2019-06-04 10:25:19 +0300
commitd6e0552efefff1d43cdf2a9f4c00662d9c055592 (patch)
treeac3536af32e8e8fe5d62bf90fd748c7a1667eb6f
parentcb4cdbf2bb9420ab2cc53587de0574ce43efcb39 (diff)
downloadbootstrap-d6e0552efefff1d43cdf2a9f4c00662d9c055592.tar.xz
bootstrap-d6e0552efefff1d43cdf2a9f4c00662d9c055592.zip
Workaround for the image size bug in IE (#28855)
-rw-r--r--scss/_card.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index aa80739a7..0369bb387 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -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;
}