]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix min-width of input-group flex items (#29209)
authorShohei Yoshida <ysds.code@gmail.com>
Tue, 6 Aug 2019 07:54:53 +0000 (16:54 +0900)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 17 Aug 2019 14:03:00 +0000 (17:03 +0300)
scss/_input-group.scss

index 3f5d7080aee981fbcbb04b1c10f45c5007b877a6..bf69ddb41de894daaaffb979bccd16f79a4dc3c6 100644 (file)
@@ -17,6 +17,7 @@
   > .custom-file {
     position: relative; // For focus state's z-index
     flex: 1 1 0%;
+    min-width: 0; // https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size
     margin-bottom: 0;
 
     + .form-control,