Skip to content

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

UX: peek mode with chat drawer stacking order (#41282)

David Battersby9d3a724a576f
diff --git a/plugins/chat/assets/stylesheets/common/chat-drawer.scss b/plugins/chat/assets/stylesheets/common/chat-drawer.scss
index ba017463f33..639e7ac8b7c 100644
--- a/plugins/chat/assets/stylesheets/common/chat-drawer.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-drawer.scss
@@ -47,6 +47,17 @@ html.rtl {
transition-property: bottom, padding-bottom;
}
+.peek-mode-active {
+ .chat-drawer-outlet-container {
+ z-index: z("composer", "dropdown") + 1;
+ }
+
+ .fk-d-menu[data-identifier="chat-message-reaction-users"],
+ .fk-d-menu[data-identifier="chat-composer-dropdown__menu"] {
+ z-index: z("composer", "dropdown") + 2;
+ }
+}
+
.chat-drawer {
pointer-events: auto;
align-self: flex-end;