logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: c1aab76da4ebb09718f66b7953e0c14452faf29c
parent: 50bec5b9990da961d97ee5ec089b924d63686c59
Author: nicolas <nclm@users.noreply.github.com>
Date:   Wed, 23 Nov 2016 16:26:53 +0100

Checkboxes label adjustement

When the label of a checkbox is more than one line long, avoid unalignment.

Diffstat:

Mapp/assets/stylesheets/forms.scss12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git 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; } }