]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: add missing doc for parameters in XY Grid mixins #10904 10905/head
authorNicolas Coden <nicolas@ncoden.fr>
Thu, 1 Feb 2018 23:04:01 +0000 (00:04 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Thu, 1 Feb 2018 23:04:01 +0000 (00:04 +0100)
Closes https://github.com/zurb/foundation-sites/issues/10904

scss/xy-grid/_collapse.scss
scss/xy-grid/_grid.scss
scss/xy-grid/_position.scss

index d9029370ddd6c374473800d033c99eafe9e923cc..861608f9e1ab15d8630e97516dcc6f67ba3fa3f3 100644 (file)
@@ -11,6 +11,7 @@
 /// @param {String} $selector [.cell] - The child element to remove the gutter from.
 /// @param {Keyword} $gutter-type [margin] - The type of gutter to remove.
 /// @param {List} $gutter-position [right left] - The positions to remove gutters from. Accepts `top`, `bottom`, `left`, `right` in any combination.
+/// @param {Keyword} $min-breakpoint [$-zf-zero-breakpoint] - Minimum breakpoint in `$breakpoint-classes` for which to collapse the gutter.
 @mixin xy-grid-collapse(
   $selector: '.cell',
   $gutter-type: margin,
@@ -54,7 +55,7 @@
             }
           }
         }
-      } 
+      }
     }
   }
   @else {
index 44186ea76e9ad048b81806bf76131c6ccd2f693d..9a91bc6f514e70911472a6f30307705852ce2339 100644 (file)
@@ -9,6 +9,7 @@
 /// Creates a max width container, designed to house your grid content.
 ///
 /// @param {Number} $width [$grid-container] - a width to limit the container to.
+/// @param {Number} $padding [$grid-container-padding] - paddings of the container.
 @mixin xy-grid-container(
   $width: $grid-container,
   $padding: $grid-container-padding
index c9c85fffa13383f6edf6baae14ef7a137fb7bc6c..2f930f22b65eafde4d1dd59e8ac6e37e4c72f757 100644 (file)
@@ -9,6 +9,9 @@
 /// Offsets a column to the right/bottom by `$n` columns.
 ///
 /// @param {Number|List} $n - Size to offset by. You can pass in any value accepted by the `zf-cell()` mixin, such as `6`, `50%`, or `1 of 2`.
+/// @param {Number|Map} $gutters [$grid-margin-gutters] Map of gutters or single value to use for responsive gutters.
+/// @param {Keyword} $gutter-type [margin] The type of gutter to use. Can be `margin` or `padding`
+/// @param {Number|Array|Keyword} $breakpoint [$-zf-zero-breakpoint] - Single value, breakpoint name, or list of breakpoint names to use for `$gutters`. See `-zf-breakpoint-value()`.
 /// @param {Boolean} $vertical [false] Sets the direction of the offset. If set to true will apply margin-top instead.
 @mixin xy-cell-offset(
  $n,