]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs: add `$enable-smooth-scroll` to Sass options page (#34877)
authorAlan Oliveira <alanbruno@gmail.com>
Thu, 2 Sep 2021 21:14:20 +0000 (18:14 -0300)
committerGitHub <noreply@github.com>
Thu, 2 Sep 2021 21:14:20 +0000 (00:14 +0300)
site/content/docs/5.1/customize/options.md

index 0d846270b4dc532bfec1d5d811ace9ba259ba780..c819e6e84a666010b628b8d0ddd0bfc3bf9c5190 100644 (file)
@@ -26,4 +26,5 @@ You can find and customize these variables for key global options in Bootstrap's
 | `$enable-negative-margins`     | `true` or `false` (default)        | Enables the generation of [negative margin utilities]({{< docsref "/utilities/spacing#negative-margin" >}}). |
 | `$enable-deprecation-messages` | `true` (default) or `false`        | Set to `false` to hide warnings when using any of the deprecated mixins and functions that are planned to be removed in `v6`. |
 | `$enable-important-utilities`  | `true` (default) or `false`        | Enables the `!important` suffix in utility classes. |
+| `$enable-smooth-scroll`        | `true` (default) or `false`        | Applies `scroll-behavior: smooth` globally, except for users asking for reduced motion through [`prefers-reduced-motion` media query]({{< docsref "/getting-started/accessibility#reduced-motion" >}}) |
 {{< /bs-table >}}