]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update _input-group.scss 8906/head
authorOndřej Vašíček <mail@ondrejvasicek.cz>
Tue, 7 Jun 2016 09:55:31 +0000 (11:55 +0200)
committerOndřej Vašíček <mail@ondrejvasicek.cz>
Tue, 7 Jun 2016 09:55:31 +0000 (11:55 +0200)
I believe that in flexbox is no need to use display: table-cell. I tried that and it works happily without it.

scss/forms/_input-group.scss

index 04a86ae59fa5141d9479316f29a15247e5e5ff5a..5935337a23501cb304ed4eab238fc0f0bb660927 100644 (file)
@@ -122,7 +122,9 @@ $input-prefix-padding: 1rem !default;
 
   // Specificity bump needed to prevent override by buttons
   // scss-lint:disable QualifyingSelector
-  .input-group .input-group-button {
-    display: table-cell;
+  @if not $global-flexbox {
+      .input-group .input-group-button {
+          display: table-cell;
+      }
   }
 }