From 09a1dccb75940b95e8e9227ebf5c48dbe044da48 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 6 Mar 2021 18:23:09 +0100 Subject: Fixed message appearance before/after date/new markers --- theme.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/theme.css b/theme.css index 1eeef98..e0e1da8 100644 --- a/theme.css +++ b/theme.css @@ -435,7 +435,7 @@ textarea.input { #chat .date-marker, #chat .unread-marker { - margin: var(--dim--spacing) 0; + margin: calc(var(--dim--spacing) * 2) 0; } /* USERLIST */ @@ -677,6 +677,13 @@ textarea.input { color: var(--color--msg--fg); } +#chat .date-marker-container + .msg, +#chat .unread-marker + .msg, +#chat .date-marker-container + .msg[data-type="message"], +#chat .unread-marker + .msg[data-type="message"] { + margin-top: 0; +} + @media (max-width: 768px) { #chat .msg[data-type="message"] { max-width: none; -- cgit v1.2.3-70-g09d2