]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: add grid-row-columns variable
authorHadouin <79368202+hadouin@users.noreply.github.com>
Thu, 7 Jul 2022 01:20:55 +0000 (03:20 +0200)
committerMark Otto <otto@github.com>
Wed, 3 Aug 2022 21:12:15 +0000 (14:12 -0700)
#36691

site/content/docs/5.2/layout/grid.md

index 44465e9071c0f25900c46a53bbb38a7e9fc540de..a9d00376f79d7d27d923250feeec2fc129fca7c9 100644 (file)
@@ -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