Render media dialogs above the settings slide-over

This commit is contained in:
Fisto
2026-09-16 12:43:21 +02:00
parent 043d1cd3c5
commit 7fa6118b6f
3 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -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;
+2 -2
View File
@@ -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;