]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix #9518 - Incorrect documentation for `@function grid-column` 9519/head
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 18 Dec 2016 00:08:24 +0000 (01:08 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 18 Dec 2016 00:08:24 +0000 (01:08 +0100)
Fix #9618

`@function grid-column` takes a list as argument and not a string.

scss/grid/_column.scss

index c49645a7ddd489a45714d283f2d265ef4e29bb8a..615e6fd2d9c44f92346e58090633034053ad6356 100644 (file)
@@ -12,7 +12,7 @@
 ///   Width of the column. Accepts multiple values:
 ///   - A percentage value will make the column that exact size.
 ///   - A single digit will make the column span that number of columns wide, taking into account the column count of the parent row.
-///   - A string of the format "x of y" will make a column that is *x* columns wide, assuming *y* total columns for the parent.
+///   - A list of the format "x of y" (without quotes) will make a column that is *x* columns wide, assuming *y* total columns for the parent.
 ///
 /// @returns {Number} A calculated percentage value.
 @function grid-column($columns) {