diff options
| author | flavio-b <[email protected]> | 2022-09-09 19:07:16 -0300 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2022-09-20 04:36:45 -0700 |
| commit | 636bb496c93ead07809dc3414e31af3a609482df (patch) | |
| tree | 6d346cea64169e86f59a1886f5c8363d9af0dd82 | |
| parent | d0117a17d807df05dfd6f6ce72a0d63f081ca529 (diff) | |
| download | bootstrap-636bb496c93ead07809dc3414e31af3a609482df.tar.xz bootstrap-636bb496c93ead07809dc3414e31af3a609482df.zip | |
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.
| -rw-r--r-- | scss/_toasts.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/_toasts.scss b/scss/_toasts.scss index c34e49b24..2ce378d5b 100644 --- a/scss/_toasts.scss +++ b/scss/_toasts.scss @@ -38,6 +38,8 @@ } .toast-container { + --#{$prefix}toast-zindex: #{$zindex-toast}; + position: absolute; z-index: var(--#{$prefix}toast-zindex); width: max-content; |
