]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
chore: document $breakpoint variable in xy-grid-layout, set null as default for ... 11145/head
authorDaniel Ruf <daniel.ruf@ueberbit.de>
Tue, 10 Apr 2018 12:11:11 +0000 (14:11 +0200)
committerDaniel Ruf <daniel.ruf@ueberbit.de>
Tue, 10 Apr 2018 12:11:11 +0000 (14:11 +0200)
scss/xy-grid/_layout.scss

index 3b7650e32133740e2ef4141933e511b26b8ce5ec..f8c962fcd02dbcb4eccb0e0c58fe56ab35b63d9b 100644 (file)
@@ -14,6 +14,7 @@
 /// @param {Number|Map} $gutters [$grid-margin-gutters] - Map or single value for gutters.
 /// @param {Keyword} $gutter-type [margin] - Type of gutter to output. Accepts `margin` or `padding`.
 /// @param {List} $gutter-position [right left] - The position to apply gutters to. Accepts `top`, `bottom`, `left`, `right` in any combination.
+/// @param {String} $breakpoint [null] - The breakpoint to use for the cell generation.
 /// @param {Boolean} $vertical [false] - Set to true to output vertical (height) styles rather than widths.
 @mixin xy-grid-layout(
   $n,
@@ -22,7 +23,7 @@
   $gutters: $grid-margin-gutters,
   $gutter-type: margin,
   $gutter-position: right left,
-  $breakpoint: $-zf-zero-breakpoint,
+  $breakpoint: null,
   $vertical: false
 ) {
   $size: percentage(1/$n);