aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2021-10-05 09:46:33 -0700
committerGitHub <[email protected]>2021-10-05 19:46:33 +0300
commit57d80fcd3274ba1ff0a1580966e098fda80f74e7 (patch)
treee561729241cca5f91f7cfeda117f6debf19a11b4 /site
parentcf2f7cfbe5f33c35d238c8455a5f7f9d9ba71804 (diff)
downloadbootstrap-57d80fcd3274ba1ff0a1580966e098fda80f74e7.tar.xz
bootstrap-57d80fcd3274ba1ff0a1580966e098fda80f74e7.zip
Separate container classes from `$enable-grid-classes` option (#35005)
* Separate container classes from enable-grid-classes optoin * Document the new option * Mention in migration guide Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.1/customize/options.md1
-rw-r--r--site/content/docs/5.1/migration.md4
2 files changed, 5 insertions, 0 deletions
diff --git a/site/content/docs/5.1/customize/options.md b/site/content/docs/5.1/customize/options.md
index c819e6e84..99aa258db 100644
--- a/site/content/docs/5.1/customize/options.md
+++ b/site/content/docs/5.1/customize/options.md
@@ -19,6 +19,7 @@ You can find and customize these variables for key global options in Bootstrap's
| `$enable-transitions` | `true` (default) or `false` | Enables predefined `transition`s on various components. |
| `$enable-reduced-motion` | `true` (default) or `false` | Enables the [`prefers-reduced-motion` media query]({{< docsref "/getting-started/accessibility#reduced-motion" >}}), which suppresses certain animations/transitions based on the users' browser/operating system preferences. |
| `$enable-grid-classes` | `true` (default) or `false` | Enables the generation of CSS classes for the grid system (e.g. `.row`, `.col-md-1`, etc.). |
+| `$enable-container-classes` | `true` (default) or `false` | Enables the generation of CSS classes for layout containers. (New in v5.2.0) |
| `$enable-caret` | `true` (default) or `false` | Enables pseudo element caret on `.dropdown-toggle`. |
| `$enable-button-pointers` | `true` (default) or `false` | Add "hand" cursor to non-disabled button elements. |
| `$enable-rfs` | `true` (default) or `false` | Globally enables [RFS]({{< docsref "/getting-started/rfs" >}}). |
diff --git a/site/content/docs/5.1/migration.md b/site/content/docs/5.1/migration.md
index 8ebb13b81..10d4a4421 100644
--- a/site/content/docs/5.1/migration.md
+++ b/site/content/docs/5.1/migration.md
@@ -7,6 +7,10 @@ aliases: "/migration/"
toc: true
---
+## v5.2.0
+
+- **Introduced new `$enable-container-classes` option.** Now when opting into the experimental CSS Grid layout, `.container-*` classes will still be compiled, unless this option is set to `false`.
+
## Dependencies
- Dropped jQuery.