Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadouin <79368202+hadouin@users.noreply.github.com>2022-07-07 04:20:55 +0300
committerMark Otto <otto@github.com>2022-08-04 00:12:15 +0300
commite57a94cd664aa7b819da9408053bfbdf414a78e4 (patch)
treefcb2d5520fb170dc6514166233aadd2829298245
parent8730ef0f8eec576a56b99ceb785da09f0c54b2ac (diff)
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 44465e9071..a9d00376f7 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