From b5468c1235181c582e039c63ef52022290a667a7 Mon Sep 17 00:00:00 2001 From: Will <69062137+0xEquinox@users.noreply.github.com> Date: Tue, 9 Aug 2022 12:33:28 -0700 Subject: [PATCH] Fixed spacing problem in inbox There was a problem previously where the name of the replier would be cut off in the inbox. Changing the margin fixes that issue; there is however a tradeoff, in doing this there is a 5px loss per message in the chat because they use the same CSS class. Previously the margin was -10, but this gets cut off in the inbox, -5 is the lowest number that doesn't cut off the name but does have that trade-off. It's not all that noticeable though. --- src/theme/chat/_messages.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/chat/_messages.scss b/src/theme/chat/_messages.scss index 8db11cf..c9fc5eb 100644 --- a/src/theme/chat/_messages.scss +++ b/src/theme/chat/_messages.scss @@ -58,7 +58,7 @@ } } &.cozy-VmLDNB:not(.groupStart-3Mlgv1) { - margin-top: calc(var(--spacing) / -1); + margin-top: 5px; padding-top: 0; }