mirror of
https://github.com/discourse/discourse.git
synced 2025-06-16 04:01:28 +08:00
UX: fix chat drawer z-index (#27568)
This commit is contained in:
@ -103,6 +103,7 @@ $z-layers: (
|
|||||||
"content": 400,
|
"content": 400,
|
||||||
),
|
),
|
||||||
"dropdown": 300,
|
"dropdown": 300,
|
||||||
|
"chat-drawer": 200,
|
||||||
"timeline": 100,
|
"timeline": 100,
|
||||||
"base": 1,
|
"base": 1,
|
||||||
);
|
);
|
||||||
|
@ -25,8 +25,8 @@ html.rtl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chat-drawer-outlet-container {
|
.chat-drawer-outlet-container {
|
||||||
// higher than timeline, lower than composer, lower than user card (bump up below)
|
// higher than timeline, lower than composer, dropdown, and user card
|
||||||
z-index: z("composer", "content") - 1;
|
z-index: z("chat-drawer");
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: var(--composer-right, 20px);
|
right: var(--composer-right, 20px);
|
||||||
left: 0;
|
left: 0;
|
||||||
|
Reference in New Issue
Block a user