Skip to content

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

Admin popup menu needs a higher z-index than the bg cloak on mobile

Kris94d10b46cad8
diff --git a/app/assets/stylesheets/common/base/topic-admin-menu.scss b/app/assets/stylesheets/common/base/topic-admin-menu.scss
index e6a9f6240c1..f310bc76e23 100644
--- a/app/assets/stylesheets/common/base/topic-admin-menu.scss
+++ b/app/assets/stylesheets/common/base/topic-admin-menu.scss
@@ -40,7 +40,7 @@
width: 100%;
padding: 0;
padding-bottom: env(safe-area-inset-bottom);
- z-index: 1000;
+ z-index: z("modal", "popover");
@keyframes slideUp {
0% {
@@ -65,6 +65,10 @@
margin-top: 0;
}
}
+
+ .mobile-view & {
+ z-index: z("modal", "popover");
+ }
}
.modal-body.feature-topic {