2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-04 17:32:34 +08:00

UX: Followup fix dmenu zindex (#33566)

followup for #33545 

The `z-index: calc(z("mobile-composer") + 1);` (1101) was lower dan the
modal overlay on mobile (1300), which made the menu inaccessible.

it's now scoped to the desktop version of dmenu only, which should
suffice for desktop/tablet usecases.
This commit is contained in:
chapoi 2025-07-10 17:07:39 +02:00 committed by GitHub
parent 2e11eb20bf
commit 3e735e62da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,8 +10,10 @@
}
}

.discourse-touch & {
z-index: calc(z("mobile-composer") + 1);
&.fk-d-menu {
@include viewport.until(sm) {
z-index: calc(z("mobile-composer") + 1);
}
}

.fullscreen-composer & {