UX: fix chat drawer z-index (#27568)

This commit is contained in:
Kris 2024-06-21 10:09:05 -04:00 committed by GitHub
parent 160011793a
commit f38bb5e3e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -103,6 +103,7 @@ $z-layers: (
"content": 400,
),
"dropdown": 300,
"chat-drawer": 200,
"timeline": 100,
"base": 1,
);

View File

@ -25,8 +25,8 @@ html.rtl {
}
.chat-drawer-outlet-container {
// higher than timeline, lower than composer, lower than user card (bump up below)
z-index: z("composer", "content") - 1;
// higher than timeline, lower than composer, dropdown, and user card
z-index: z("chat-drawer");
position: fixed;
right: var(--composer-right, 20px);
left: 0;