mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Checkboxes label adjustement
When the label of a checkbox is more than one line long, avoid unalignment.
This commit is contained in:
parent
50bec5b999
commit
c1aab76da4
1 changed files with 8 additions and 4 deletions
|
@ -48,11 +48,15 @@ code {
|
|||
display: block;
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
display: inline-block;
|
||||
label.checkbox {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
margin-right: 8px;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue