Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Commit

Permalink
RTL: fix preferences page checkbox margins (mastodon#9145)
Browse files Browse the repository at this point in the history
* RTL: fix preferences page checkbox margins

* Update rtl.scss
  • Loading branch information
Masoud Abkenar authored and Gargron committed Oct 29, 2018
1 parent 33a71e8 commit 5ee0b51
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/javascript/styles/mastodon/rtl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ee0b51

Please sign in to comment.