]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Change in doc
authorIllusionPerdu <illusionperdu@gmail.com>
Mon, 16 Jan 2017 11:42:07 +0000 (12:42 +0100)
committerIllusionPerdu <illusionperdu@gmail.com>
Mon, 16 Jan 2017 11:42:07 +0000 (12:42 +0100)
docs/pages/grid.md
scss/grid/_grid.scss

index 18ef382fbb6171659f347932415fc0492c16f655..7a45dc2db526748e15f0eab133c8f7098c2e5bcc 100644 (file)
@@ -15,7 +15,7 @@ Start by adding an element with a class of `.row`. This will create a horizontal
 **Foundation is mobile-first.** Code for small screens first, and larger devices will inherit those styles. Customize for larger screens as necessary.
 
 <div class="warning callout">
-  <p>By defaut `.column` have an <a href="http://localhost:3000/grid.html#sass-reference">alias</a> `.columns`&mdash;the only difference is grammar.</p>
+  <p>By defaut `.column` have an alias `.columns` (see the <a href="http://localhost:3000/grid.html#sass-reference">`$grid-column-alias` option</a>) &mdash;the only difference is grammar.</p>
   <p>Disabling the alias can reduce the Foundation CSS file size from 3 to 5%. It is recommended if the alias is not used.</p>
 </div>
 
index 2c5fc57d011ab2c4b19583d311a4ecc068aedd62..34b2b5033bd1da3158b0ba644c830aa2a90e86c5 100644 (file)
@@ -26,14 +26,14 @@ $grid-column-gutter: (
 /// @type Boolean
 $grid-column-align-edge: true !default;
 
+/// Selector used for an alias of column (with @extend). If `false`, no alias is created.
+/// @type String
+$grid-column-alias: 'columns' !default;
+
 /// The highest number of `.x-up` classes available when using the block grid CSS.
 /// @type Number
 $block-grid-max: 8 !default;
 
-/// Selector used for an alias of column (with @extend). If `false`, no alias is created.
-/// @type String
-$column-alias: 'columns' !default;
-
 // Internal value to store the end column float direction
 $-zf-end-float: if($grid-column-align-edge, $global-right, $global-left);