From 0d20b38da7e6c8753fd2138890597a24c96ca212 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 19 Jan 2023 15:51:14 +0100 Subject: [PATCH] [Glitch] Fix wrong padding in RTL layout in web UI Port part of 4894deca7ef5aad3f1c42a3dd4a155362757715b to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/styles/polls.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss index 43924829d..407d71888 100644 --- a/app/javascript/flavours/glitch/styles/polls.scss +++ b/app/javascript/flavours/glitch/styles/polls.scss @@ -117,7 +117,7 @@ width: 18px; height: 18px; flex: 0 0 auto; - margin-right: 10px; + margin-inline-end: 10px; top: -1px; border-radius: 50%; vertical-align: middle; @@ -212,7 +212,7 @@ .button { height: 36px; padding: 0 16px; - margin-right: 10px; + margin-inline-end: 10px; font-size: 14px; } } @@ -250,7 +250,7 @@ line-height: inherit; color: $action-button-color; border-color: $action-button-color; - margin-right: 5px; + margin-inline-end: 5px; } li { @@ -260,7 +260,7 @@ .poll__option { flex: 0 0 auto; width: calc(100% - (23px + 6px)); - margin-right: 6px; + margin-inline-end: 6px; } }