From: flavio-b Date: Fri, 9 Sep 2022 22:07:16 +0000 (-0300) Subject: Set toast z-index variable in the correct spot X-Git-Tag: v5.2.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636bb496c93ead07809dc3414e31af3a609482df;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/scss/_toasts.scss b/scss/_toasts.scss index c34e49b241..2ce378d5bc 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;