From 4b5a1b1f99262a6beffcabc6e0e297b72ff83bfe Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Thu, 19 Jul 2018 00:49:39 +0200 Subject: [PATCH] docs: improve description for "$size" in XY cell mixins --- scss/xy-grid/_cell.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scss/xy-grid/_cell.scss b/scss/xy-grid/_cell.scss index 61d371b47..de30fd7ed 100644 --- a/scss/xy-grid/_cell.scss +++ b/scss/xy-grid/_cell.scss @@ -95,7 +95,7 @@ /// Sets base flex properties for cells. /// -/// @param {Keyword} $size [full] - The size of your cell. Accepts `full`, `auto`, `shrink` or `grow`. +/// @param {Keyword} $size [full] - The size of your cell. Accepts `full`, `auto`, `shrink`, `grow`, or any other value representing a cell size (it will be treated as `shrink`). @mixin xy-cell-base($size: full) { $base: xy-cell-base($size); @@ -171,7 +171,7 @@ /// Creates a cell for your grid. /// -/// @param {Keyword|Number} $size [full] - The size of your cell. Can be `full` (default) for 100% width, `auto` to use up available space and `shrink` to use up only required space. +/// @param {Keyword|Number} $size [full] - The size of your cell. Can be `full` (100% width), `auto` (use all available space), `shrink` (use only the required space) or any fraction (`6`, `50%`, `1 of 2` or `1/2`...). /// @param {Boolean} $gutter-output [null] - [DEPRECATED] Whether or not to output gutters. /// @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`, `padding` or `none`. @@ -216,7 +216,7 @@ /// /// @deprecated v6.6.0 /// -/// @param {Keyword|Number} $size [full] - The size of your cell. Can be `full` (default) for 100% width, `auto` to use up available space and `shrink` to use up only required space. +/// @param {Keyword|Number} $size [full] - The size of your cell. Can be `full` (100% width), `auto` (use all available space), `shrink` (use only the required space) or any fraction (`6`, `50%`, `1 of 2` or `1/2`...). /// @param {Boolean} $gutter-output [true] - Whether or not to output gutters. Always `true` for margin gutters. /// @param {Number|Map} $gutters [$grid-margin-gutters] - Map or single value for gutters. /// @param {Keyword} $gutter-type [margin] - Map or single value for gutters. -- 2.47.2