mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: label should align left when it occupy the whole line (#2517)
This commit is contained in:
parent
e865f1fc84
commit
14d6bd80da
@ -47,6 +47,7 @@ input[type="checkbox"] {
|
||||
cursor: @cursor-disabled;
|
||||
}
|
||||
}
|
||||
|
||||
// These classes are used on elements with <label> descendants
|
||||
.ant-radio,
|
||||
.ant-checkbox {
|
||||
@ -84,6 +85,7 @@ input[type="checkbox"] {
|
||||
text-align: right;
|
||||
vertical-align: middle;
|
||||
padding: 7px 0;
|
||||
display: inline-block;
|
||||
|
||||
label {
|
||||
color: @label-color;
|
||||
|
Loading…
Reference in New Issue
Block a user