aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/_offcanvas.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_offcanvas.scss')
-rw-r--r--vendor/twbs/bootstrap/scss/_offcanvas.scss9
1 files changed, 4 insertions, 5 deletions
diff --git a/vendor/twbs/bootstrap/scss/_offcanvas.scss b/vendor/twbs/bootstrap/scss/_offcanvas.scss
index 23fc357f2..5709479dc 100644
--- a/vendor/twbs/bootstrap/scss/_offcanvas.scss
+++ b/vendor/twbs/bootstrap/scss/_offcanvas.scss
@@ -2,7 +2,6 @@
%offcanvas-css-vars {
// scss-docs-start offcanvas-css-vars
- --#{$prefix}offcanvas-zindex: #{$zindex-offcanvas};
--#{$prefix}offcanvas-width: #{$offcanvas-horizontal-width};
--#{$prefix}offcanvas-height: #{$offcanvas-vertical-height};
--#{$prefix}offcanvas-padding-x: #{$offcanvas-padding-x};
@@ -32,7 +31,7 @@
@include media-breakpoint-down($next) {
position: fixed;
bottom: 0;
- z-index: var(--#{$prefix}offcanvas-zindex);
+ z-index: $zindex-offcanvas;
display: flex;
flex-direction: column;
max-width: 100%;
@@ -126,9 +125,9 @@
.btn-close {
padding: calc(var(--#{$prefix}offcanvas-padding-y) * .5) calc(var(--#{$prefix}offcanvas-padding-x) * .5);
- margin-top: calc(-.5 * var(--#{$prefix}offcanvas-padding-y));
- margin-right: calc(-.5 * var(--#{$prefix}offcanvas-padding-x));
- margin-bottom: calc(-.5 * var(--#{$prefix}offcanvas-padding-y));
+ margin-top: calc(var(--#{$prefix}offcanvas-padding-y) * -.5);
+ margin-right: calc(var(--#{$prefix}offcanvas-padding-x) * -.5);
+ margin-bottom: calc(var(--#{$prefix}offcanvas-padding-y) * -.5);
}
}