[fractal] content: Remove right margin for event-content



commit 2e9c8275659a0fa355fb03bf4ff52b1dcebcda05
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Mar 31 17:34:00 2022 -0300

    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 7ce6beceb..8abb467b2 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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]