From 2e9c8275659a0fa355fb03bf4ff52b1dcebcda05 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Thu, 31 Mar 2022 17:34:00 -0300 Subject: [PATCH] content: Remove right margin for event-content This was originally introduced at fc02302620331e to match mockups, but seems to be better without. Also adjust the CSS selector below to have them matching on RTL. --- data/resources/style.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/data/resources/style.css b/data/resources/style.css index 7ce6bece..8abb467b 100644 --- a/data/resources/style.css +++ b/data/resources/style.css @@ -357,13 +357,14 @@ login { margin-top: 6px; } -.room-history .event-content { - margin-right: 46px; +.room-history row:not(.has-header) .event-content:dir(ltr), +.room-history row:not(.has-header) message-reactions:dir(ltr) { + margin-left: 46px; } -.room-history row:not(.has-header) .event-content, -.room-history row:not(.has-header) message-reactions { - margin-left: 46px; +.room-history row:not(.has-header) .event-content:dir(rtl), +.room-history row:not(.has-header) message-reactions:dir(rtl) { + margin-right: 46px; } .room-history .event-content .emoji {