From: Gaurav Behere Date: Tue, 21 Jul 2020 08:24:38 +0000 (+0300) Subject: Adding overflow visible as util X-Git-Tag: v5.0.0-alpha3~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=776afb8e9e3f535c4ce748aa1b53e06ebe9bf3e8;p=thirdparty%2Fbootstrap.git Adding overflow visible as util --- diff --git a/scss/_utilities.scss b/scss/_utilities.scss index 565c466c2f..226c9143a1 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -16,7 +16,7 @@ $utilities: map-merge( ), "overflow": ( property: overflow, - values: auto hidden, + values: auto hidden visible scroll, ), "display": ( responsive: true, diff --git a/site/content/docs/5.0/utilities/overflow.md b/site/content/docs/5.0/utilities/overflow.md index f8ae2f3248..b400db74e0 100644 --- a/site/content/docs/5.0/utilities/overflow.md +++ b/site/content/docs/5.0/utilities/overflow.md @@ -5,7 +5,7 @@ description: Use these shorthand utilities for quickly configuring how content o group: utilities --- -Barebones `overflow` functionality is provided for two values by default, and they are not responsive. +Barebones `overflow` functionality is provided for four values by default, and they are not responsive.
@@ -14,11 +14,19 @@ Barebones `overflow` functionality is provided for two values by default, and th
This is an example of using .overflow-hidden on an element with set width and height dimensions.
+
+ This is an example of using .overflow-visible on an element with set width and height dimensions. +
+
+ This is an example of using .overflow-scroll on an element with set width and height dimensions. +
{{< highlight html >}}
...
...
+
...
+
...
{{< /highlight >}} Using Sass variables, you may customize the overflow utilities by changing the `$overflows` variable in `_variables.scss`.