]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: remove mentions of unsupported Y Grid from block grids section 11464/head
authorNicolas Coden <nicolas@ncoden.fr>
Sun, 19 Aug 2018 15:43:46 +0000 (17:43 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sun, 19 Aug 2018 15:43:46 +0000 (17:43 +0200)
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

docs/pages/xy-grid.md

index 44fd7a152a13efc64274c9200e5343959656ca62..ddfcc2db05d2c72157767d28ef6ff63e48a3b7b7 100644 (file)
@@ -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.
 
 <div class="callout primary">This example uses padding grid but this can be used with margin grid too.</div>
 
@@ -256,6 +256,8 @@ To define cell widths within a direction-level, instead of the individual cell l
 </div>
 ```
 
+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?