mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Set toast z-index variable in the correct spot
The .toast-container tries to use the z-index CSS variable, which is defined under .toast. However, this variable is not accessible to the container. This change copies the variable to the spot where it can be used.
This commit is contained in:
parent
d0117a17d8
commit
636bb496c9
@ -38,6 +38,8 @@
|
||||
}
|
||||
|
||||
.toast-container {
|
||||
--#{$prefix}toast-zindex: #{$zindex-toast};
|
||||
|
||||
position: absolute;
|
||||
z-index: var(--#{$prefix}toast-zindex);
|
||||
width: max-content;
|
||||
|
Loading…
Reference in New Issue
Block a user