diff options
author | nicolas <nclm@users.noreply.github.com> | 2016-11-23 16:26:53 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-25 14:02:12 +0100 |
commit | c1aab76da4ebb09718f66b7953e0c14452faf29c (patch) | |
tree | 11c7b6efe02ff4aea5fb1ebe4e842bf878fdaba7 /app/assets | |
parent | 50bec5b9990da961d97ee5ec089b924d63686c59 (diff) |
Checkboxes label adjustement
When the label of a checkbox is more than one line long, avoid unalignment.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/forms.scss | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/assets/stylesheets/forms.scss b/app/assets/stylesheets/forms.scss index 306f474d6..fdaa60ca5 100644 --- a/app/assets/stylesheets/forms.scss +++ b/app/assets/stylesheets/forms.scss @@ -47,12 +47,16 @@ code { color: #9baec8; display: block; } + + label.checkbox { + position: relative; + padding-left: 25px; + } input[type=checkbox] { - display: inline-block; - position: relative; - top: 3px; - margin-right: 8px; + position: absolute; + left: 0; + top: 0; } } |