Skip to content

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

UX: Horizon > chat-drawer z-index adjustments for popup content (#33932)

chapoifa742b8e248f
diff --git a/themes/horizon/scss/chat.scss b/themes/horizon/scss/chat.scss
index 960e50dbbd3..c3c7f5a63eb 100644
--- a/themes/horizon/scss/chat.scss
+++ b/themes/horizon/scss/chat.scss
@@ -45,6 +45,19 @@ body.has-full-page-chat {
}
}
+// the below are elements whose z-index needs to be adjusted due to the above change
+.chat-message-actions-container {
+ .chat-drawer.is-expanded & {
+ z-index: calc(z("composer", "dropdown") + 1);
+ }
+}
+
+.fk-d-menu[data-identifier="usercard"] {
+ .has-drawer-chat & {
+ z-index: z("modal", "dialog");
+ }
+}
+
.chat-drawer {
.peek-mode-active & {
max-width: 90vw;