]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Prevent breaking change of default flex-grid-size value 8510/head
authorNicolas Coden <nicos.coden@neuf.fr>
Wed, 27 Apr 2016 17:18:32 +0000 (19:18 +0200)
committerNicolas Coden <nicos.coden@neuf.fr>
Wed, 27 Apr 2016 17:18:58 +0000 (19:18 +0200)
scss/grid/_flex-grid.scss

index 20d8838a250555886ffc9b3a663266859e9daad5..0a6ce324c6d439d203c16b7bc383f003a0c25870 100644 (file)
 
 /// Changes the width flex grid column.
 /// @param {Mixed} $columns [expand] - Width of the column. Refer to the `flex-grid-column()` function to see possible values.
-@mixin flex-grid-size($columns: expand) {
+@mixin flex-grid-size($columns: null) {
+  $columns: $columns or expand;
+
   flex: flex-grid-column($columns);
 
   // max-width fixes IE 10/11 not respecting the flex-basis property