From: Nicolas Coden Date: Sun, 19 Aug 2018 15:43:46 +0000 (+0200) Subject: docs: remove mentions of unsupported Y Grid from block grids section X-Git-Tag: v6.6.0~3^2~113^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb3df02d57998049786d93d2b8d8068624d6ae2;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: remove mentions of unsupported Y Grid from block grids section Block Grid is not supported for Y Grid and will not be implemented. It would add too much code for a feature that is will not be used in most projects. Plus, Block Grid classes are not namespaced for the horizontal or vertical grid. Adding block grid classes for the vertical grid would lead of inconstencies or backward incompatibility and increased specificity. Closes https://github.com/zurb/foundation-sites/issues/11463 --- diff --git a/docs/pages/xy-grid.md b/docs/pages/xy-grid.md index 44fd7a152..ddfcc2db0 100644 --- a/docs/pages/xy-grid.md +++ b/docs/pages/xy-grid.md @@ -237,7 +237,7 @@ Offsets work by applying `margin-left` (or `margin-top` for a vertical grid) to ## Block Grids -To define cell widths within a direction-level, instead of the individual cell level, add the class `.[size]-up-[n]` to a `grid-x` or `grid-y`, where `[n]` is the number of cells to display per direction, and `[size]` is the breakpoint at which to apply the effect. +To define cell widths within a direction-level, instead of the individual cell level, add the class `.[size]-up-[n]` to a `grid-x`, where `[n]` is the number of cells to display per direction, and `[size]` is the breakpoint at which to apply the effect.
This example uses padding grid but this can be used with margin grid too.
@@ -256,6 +256,8 @@ To define cell widths within a direction-level, instead of the individual cell l ``` +Block Grids are not availaible for the vertical grids. Use the [basic layout](#vertical-grids) with a size applied on each cell of the grid instead. + --- ## Looking for Push/Pull?