From 5be38f03db739d8b10c2764ab0c43988a735564d Mon Sep 17 00:00:00 2001 From: vinitS101 Date: Sat, 13 Apr 2019 06:54:07 +0530 Subject: [PATCH] css: Change rtl ul rule to only set left and right margins. This change has been made so that the top and bottom margins for bulleted lists is completely handled by the other ul rule. --- static/styles/zulip.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss index 33ca93c9f2..7da2c514f6 100644 --- a/static/styles/zulip.scss +++ b/static/styles/zulip.scss @@ -1449,8 +1449,11 @@ a:hover code { ul { margin: 5px 0 5px 20px; } + + /* Swap the left and right margins of bullets for Right-To-Left languages */ &.rtl ul { - margin: 5px 20px 5px 0; + margin-right: 20px; + margin-left: 0; } /* Formatting for blockquotes */