Skip to content

A platform for community discussion. Free, open, simple.

UX: Overrule specific z-index for case of dmenu in conjuction with mobile composer (#33622)

chapoi8a48270958fe
diff --git a/app/assets/stylesheets/common/toolbar-popup-menu-options.scss b/app/assets/stylesheets/common/toolbar-popup-menu-options.scss
index 530db6d4d6d..56173b76ac5 100644
--- a/app/assets/stylesheets/common/toolbar-popup-menu-options.scss
+++ b/app/assets/stylesheets/common/toolbar-popup-menu-options.scss
@@ -14,6 +14,11 @@
z-index: z("header") + 1;
}
+ // eventho mobile composer shouldnt be used in conjuction with fk-d-menu (floating version), on tablets the possibility unfortunately exists
+ .discourse-touch & {
+ z-index: z("mobile-composer");
+ }
+
.dropdown-menu {
.btn {
gap: var(--space-2);