diff options
author | Volpeon <git@volpeon.ink> | 2021-03-06 18:23:09 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-03-06 18:23:09 +0100 |
commit | 09a1dccb75940b95e8e9227ebf5c48dbe044da48 (patch) | |
tree | 784f44fc847c915c3e8b3fdce702add4f9b3a2ac | |
parent | Added rules for settings and connection forms, added rules for MOTD (diff) | |
download | thelounge-theme-vulpes-09a1dccb75940b95e8e9227ebf5c48dbe044da48.tar.gz thelounge-theme-vulpes-09a1dccb75940b95e8e9227ebf5c48dbe044da48.tar.bz2 thelounge-theme-vulpes-09a1dccb75940b95e8e9227ebf5c48dbe044da48.zip |
Fixed message appearance before/after date/new markers
-rw-r--r-- | theme.css | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -435,7 +435,7 @@ textarea.input { | |||
435 | 435 | ||
436 | #chat .date-marker, | 436 | #chat .date-marker, |
437 | #chat .unread-marker { | 437 | #chat .unread-marker { |
438 | margin: var(--dim--spacing) 0; | 438 | margin: calc(var(--dim--spacing) * 2) 0; |
439 | } | 439 | } |
440 | 440 | ||
441 | /* USERLIST */ | 441 | /* USERLIST */ |
@@ -677,6 +677,13 @@ textarea.input { | |||
677 | color: var(--color--msg--fg); | 677 | color: var(--color--msg--fg); |
678 | } | 678 | } |
679 | 679 | ||
680 | #chat .date-marker-container + .msg, | ||
681 | #chat .unread-marker + .msg, | ||
682 | #chat .date-marker-container + .msg[data-type="message"], | ||
683 | #chat .unread-marker + .msg[data-type="message"] { | ||
684 | margin-top: 0; | ||
685 | } | ||
686 | |||
680 | @media (max-width: 768px) { | 687 | @media (max-width: 768px) { |
681 | #chat .msg[data-type="message"] { | 688 | #chat .msg[data-type="message"] { |
682 | max-width: none; | 689 | max-width: none; |