2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+2
View File
@@ -20,6 +20,8 @@
}
.toast-container {
position: absolute;
z-index: $zindex-toast;
width: max-content;
max-width: 100%;
pointer-events: none;
+1
View File
@@ -1041,6 +1041,7 @@ $zindex-modal-backdrop: 1050 !default;
$zindex-modal: 1055 !default;
$zindex-popover: 1070 !default;
$zindex-tooltip: 1080 !default;
$zindex-toast: 1090 !default;
// scss-docs-end zindex-stack