Render media dialogs above the settings slide-over
This commit is contained in:
@@ -340,7 +340,8 @@
|
||||
.vk-media-modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 95;
|
||||
/* Above the settings slide-over (1000): Clean media and other dialogs open from Settings. */
|
||||
z-index: 1050;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@@ -1580,8 +1580,8 @@ a.vk-attachment:hover {
|
||||
|
||||
/*
|
||||
* Layering scale, highest wins:
|
||||
* chrome 40 · media view 70 · media modals 95 · settings 1000 · toasts 1100
|
||||
* Any new full-screen layer should pick a slot below 1000, not above the dialogs.
|
||||
* chrome 40 · media view 70 · settings 1000 · dialogs opened from settings 1050 · toasts 1100
|
||||
* A full-screen layer sits below 1000 unless it is a dialog that Settings itself opens.
|
||||
*/
|
||||
.vk-overlay {
|
||||
position: fixed;
|
||||
|
||||
Reference in New Issue
Block a user