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
|
@ -48,11 +48,15 @@ code {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox] {
|
label.checkbox {
|
||||||
display: inline-block;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 3px;
|
padding-left: 25px;
|
||||||
margin-right: 8px;
|
}
|
||||||
|
|
||||||
|
input[type=checkbox] {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue