mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 01:21:49 +02:00
Adding missing CSS variables for z-index
This commit is contained in:
committed by
Mark Otto
parent
4cea8b1786
commit
a0238d126b
@@ -1,5 +1,6 @@
|
||||
.toast {
|
||||
// scss-docs-start toast-css-vars
|
||||
--#{$prefix}toast-zindex: #{$zindex-toast};
|
||||
--#{$prefix}toast-padding-x: #{$toast-padding-x};
|
||||
--#{$prefix}toast-padding-y: #{$toast-padding-y};
|
||||
--#{$prefix}toast-spacing: #{$toast-spacing};
|
||||
@@ -38,7 +39,7 @@
|
||||
|
||||
.toast-container {
|
||||
position: absolute;
|
||||
z-index: $zindex-toast;
|
||||
z-index: var(--#{$prefix}toast-zindex);
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
pointer-events: none;
|
||||
|
Reference in New Issue
Block a user