aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorjorimvanhove <[email protected]>2020-01-23 16:30:31 +0100
committerXhmikosR <[email protected]>2020-01-23 17:30:31 +0200
commit58f2e8309c8cfdd1b3f2631b6e4eb94b34fdd4be (patch)
treec130b9ef4e6835ec47fb2fcea0787d78535e10c7 /scss
parentb1b8b53f3d6f26231ca776fda519c0e2bca50f47 (diff)
downloadbootstrap-58f2e8309c8cfdd1b3f2631b6e4eb94b34fdd4be.tar.xz
bootstrap-58f2e8309c8cfdd1b3f2631b6e4eb94b34fdd4be.zip
IE auto-size input-group to column (#30043)
Diffstat (limited to 'scss')
-rw-r--r--scss/forms/_input-group.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss
index a37dd8e73..f729d0bd2 100644
--- a/scss/forms/_input-group.scss
+++ b/scss/forms/_input-group.scss
@@ -15,7 +15,8 @@
> .form-select,
> .form-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;