diff options
| author | Julien Déramond <[email protected]> | 2023-07-10 16:26:44 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2023-07-16 20:39:54 -0700 |
| commit | 6a9b9af59e0e279e3fc6eb46a043f9a4eae578fe (patch) | |
| tree | abf6f93c8d943679e561017b09a17cfca80faa6d /scss | |
| parent | 8c135169e7ef5a4d6b92b99e21630711d7830963 (diff) | |
| download | bootstrap-6a9b9af59e0e279e3fc6eb46a043f9a4eae578fe.tar.xz bootstrap-6a9b9af59e0e279e3fc6eb46a043f9a4eae578fe.zip | |
New Sass variable to change vertical rule width
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_variables.scss | 4 | ||||
| -rw-r--r-- | scss/helpers/_vr.scss | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 42a010693..eb066c60d 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -705,6 +705,10 @@ $hr-border-color: null !default; // Allows for inherited colors $hr-border-width: var(--#{$prefix}border-width) !default; $hr-opacity: .25 !default; +// scss-docs-start vr-variables +$vr-border-width: var(--#{$prefix}border-width) !default; +// scss-docs-end vr-variables + $legend-margin-bottom: .5rem !default; $legend-font-size: 1.5rem !default; $legend-font-weight: null !default; diff --git a/scss/helpers/_vr.scss b/scss/helpers/_vr.scss index 9bca09953..b6f9d42cb 100644 --- a/scss/helpers/_vr.scss +++ b/scss/helpers/_vr.scss @@ -1,7 +1,7 @@ .vr { display: inline-block; align-self: stretch; - width: 1px; + width: $vr-border-width; min-height: 1em; background-color: currentcolor; opacity: $hr-opacity; |
