Browse Source

RTL: fix preferences page checkbox margins (#9145)

* RTL: fix preferences page checkbox margins

* Update rtl.scss
Masoud Abkenar 5 years ago
parent
commit
5ee0b51ac8
1 changed files with 6 additions and 2 deletions
  1. 6 2
      app/javascript/styles/mastodon/rtl.scss

+ 6 - 2
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;