aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadouin <[email protected]>2022-07-07 03:20:55 +0200
committerMark Otto <[email protected]>2022-08-03 14:12:15 -0700
commite57a94cd664aa7b819da9408053bfbdf414a78e4 (patch)
treefcb2d5520fb170dc6514166233aadd2829298245
parent8730ef0f8eec576a56b99ceb785da09f0c54b2ac (diff)
downloadbootstrap-e57a94cd664aa7b819da9408053bfbdf414a78e4.tar.xz
bootstrap-e57a94cd664aa7b819da9408053bfbdf414a78e4.zip
Docs: add grid-row-columns variable
#36691
-rw-r--r--site/content/docs/5.2/layout/grid.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/site/content/docs/5.2/layout/grid.md b/site/content/docs/5.2/layout/grid.md
index 44465e907..a9d00376f 100644
--- a/site/content/docs/5.2/layout/grid.md
+++ b/site/content/docs/5.2/layout/grid.md
@@ -420,6 +420,7 @@ Variables and maps determine the number of columns, the gutter width, and the me
```scss
$grid-columns: 12;
$grid-gutter-width: 1.5rem;
+$grid-row-columns: 6;
```
{{< scss-docs name="grid-breakpoints" file="scss/_variables.scss" >}}
@@ -499,11 +500,12 @@ Using our built-in grid Sass variables and maps, it's possible to completely cus
### Columns and gutters
-The number of grid columns can be modified via Sass variables. `$grid-columns` is used to generate the widths (in percent) of each individual column while `$grid-gutter-width` sets the width for the column gutters.
+The number of grid columns can be modified via Sass variables. `$grid-columns` is used to generate the widths (in percent) of each individual column while `$grid-gutter-width` sets the width for the column gutters. `$grid-row-columns` is used to set the maximum number of columns of `.row-cols-*`, any number over this limit is ignored.
```scss
$grid-columns: 12 !default;
$grid-gutter-width: 1.5rem !default;
+$grid-row-columns: 6 !default;
```
### Grid tiers