1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-23 13:43:11 +02:00

Add z-index for .toast-container (#35859)

* Add z-index for .toast-container

- Adds positioning and z-index to toast container so that it has a system-declared layer in relation to other components.
- Updates docs to use the class better

Fixes $34028

* Remove unnecessary z-index from docs examples
This commit is contained in:
Mark Otto
2022-02-25 08:49:02 -08:00
committed by GitHub
parent 2c5a16ff8b
commit 28d9aaf670
3 changed files with 6 additions and 3 deletions

View File

@@ -20,6 +20,8 @@
}
.toast-container {
position: absolute;
z-index: $zindex-toast;
width: max-content;
max-width: 100%;
pointer-events: none;