diff options
| author | Henry Jameson <me@hjkos.com> | 2022-04-04 19:41:09 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-04-04 19:41:09 +0300 |
| commit | 71863061c691df7f59cf4be283a3e0772d485378 (patch) | |
| tree | a48abdfeb7a4e585f84a97f22d11938a8fff5a65 /src/components/chat/chat.scss | |
| parent | 0e83ced25b612250d8126778288b7b44f3b91dfc (diff) | |
fixed tons of stuff, at least it looks normalish on desktop
Diffstat (limited to 'src/components/chat/chat.scss')
| -rw-r--r-- | src/components/chat/chat.scss | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 3a26686c..c1f2dcf2 100644 --- a/src/components/chat/chat.scss +++ b/src/components/chat/chat.scss @@ -1,19 +1,12 @@ .chat-view { display: flex; - height: calc(100vh - 60px); - width: 100%; - - .chat-title { - // prevents chat header jumping on when the user avatar loads - height: 28px; - } + height: 100%; .chat-view-inner { height: auto; width: 100%; overflow: visible; display: flex; - margin: 0.5em 0.5em 0 0.5em; } .chat-view-body { @@ -32,11 +25,9 @@ } } - .scrollable-message-list { + .message-list { padding: 0 0.8em; height: 100%; - overflow-y: scroll; - overflow-x: hidden; display: flex; flex-direction: column; } @@ -44,12 +35,13 @@ .footer { position: sticky; bottom: 0; + background-color: $fallback--bg; + background-color: var(--bg, $fallback--bg); } .chat-view-heading { align-items: center; justify-content: space-between; - top: 50px; display: flex; z-index: 2; position: sticky; |
