aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjorimvanhove <[email protected]>2020-01-23 16:30:31 +0100
committerXhmikosR <[email protected]>2020-02-17 21:33:54 +0200
commit92525e9ec41b7133f4eee2026291b6bd90afee4b (patch)
tree57b73278782b6f4a57c2bb687dfd5acda097e868
parent6c464938039e4fb23af4a35146250da9e1630de4 (diff)
downloadbootstrap-92525e9ec41b7133f4eee2026291b6bd90afee4b.tar.xz
bootstrap-92525e9ec41b7133f4eee2026291b6bd90afee4b.zip
IE auto-size input-group to column (#30043)
-rw-r--r--scss/_input-group.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss
index bf69ddb41..cad8ea367 100644
--- a/scss/_input-group.scss
+++ b/scss/_input-group.scss
@@ -16,7 +16,8 @@
> .custom-select,
> .custom-file {
position: relative; // For focus state's z-index
- flex: 1 1 0%;
+ flex: 1 1 auto;
+ width: 1%;
min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size
margin-bottom: 0;