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
|
@ -47,12 +47,16 @@ code {
|
||||||
color: #9baec8;
|
color: #9baec8;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label.checkbox {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
input[type=checkbox] {
|
input[type=checkbox] {
|
||||||
display: inline-block;
|
position: absolute;
|
||||||
position: relative;
|
left: 0;
|
||||||
top: 3px;
|
top: 0;
|
||||||
margin-right: 8px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue