Skip to content

Commit

Permalink
UX: add styling for floating topic button edge cases (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
chapoi authored Aug 8, 2024
1 parent 3031d57 commit a59f844
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions desktop/desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@
bottom: 30px;
right: 50px;
z-index: z("composer", "content") - 1;

.chat-drawer-active & {
z-index: z("chat-drawer") - 1;
bottom: 60px;
}

@media screen and (max-width: 1520px) {
body:has(#reply-control.draft.show-preview) & {
bottom: 60px;
}
}

background-color: var(--tertiary);
color: var(--secondary);
white-space: nowrap;
Expand Down

0 comments on commit a59f844

Please sign in to comment.