Left Main / New Chat Button: Fix z-index
This commit is contained in:
parent
347fb38b0b
commit
0a01bad35d
@ -1,5 +1,6 @@
|
|||||||
.NewChatButton {
|
.NewChatButton {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
z-index: var(--z-chat-float-button);
|
||||||
right: 1rem;
|
right: 1rem;
|
||||||
bottom: 1rem;
|
bottom: 1rem;
|
||||||
transform: translateY(5rem);
|
transform: translateY(5rem);
|
||||||
@ -23,12 +24,6 @@
|
|||||||
|
|
||||||
&.revealed {
|
&.revealed {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
|
||||||
transform-style: preserve-3d;
|
|
||||||
// Force rendering in the composite layer to fix the z-index rendering issue
|
|
||||||
transform: translate3d(0, 0, 0.625rem);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
> .Button {
|
> .Button {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user