about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorMasoud Abkenar <ampbox@gmail.com>2018-10-30 00:47:43 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-10-30 00:47:43 +0100
commit5ee0b51ac8363da1687cc518e80eac53c23b048a (patch)
tree6a759f829f31e909106f8de9226d506be536b6d2 /app/javascript
parent33a71e8f7cd28aad5aa690a6d77aa83fe289f69c (diff)
RTL: fix preferences page checkbox margins (#9145)
* RTL: fix preferences page checkbox margins

* Update rtl.scss
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/rtl.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/rtl.scss b/app/javascript/styles/mastodon/rtl.scss
index 176fb5ce0..e5621c519 100644
--- a/app/javascript/styles/mastodon/rtl.scss
+++ b/app/javascript/styles/mastodon/rtl.scss
@@ -199,12 +199,16 @@ body.rtl {
     margin-left: 5px;
   }
 
-  .simple_form .check_boxes .checkbox label,
-  .simple_form .input.with_label.boolean label.checkbox {
+  .simple_form .check_boxes .checkbox label {
     padding-left: 0;
     padding-right: 25px;
   }
 
+  .simple_form .input.with_label.boolean label.checkbox {
+    padding-left: 25px;
+    padding-right: 0;
+  }
+
   .simple_form .check_boxes .checkbox input[type="checkbox"],
   .simple_form .input.boolean input[type="checkbox"] {
     left: auto;