Skip to content

Conversation

@flavio-b
Copy link
Contributor

@flavio-b flavio-b commented Sep 9, 2022

The.toast-container tries to use the z-index CSS variable, which is defined under .toast.

However, this variable is not accessible to the .toast-container, because it is the parent of .toast. This PR copies the variable to the spot where it can be used.

Fixes #37136
Fixes #37175

I'm not sure how to handle the documentation in this case.

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.
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mdo mdo merged commit 636bb49 into twbs:main Sep 20, 2022
@flavio-b flavio-b deleted the toast-z-index branch September 20, 2022 12:36
@Splines Splines mentioned this pull request Aug 27, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Documentation Toast Toast z-index css variable not used

3 participants