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;
|
cursor: @cursor-disabled;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// These classes are used on elements with <label> descendants
|
// These classes are used on elements with <label> descendants
|
||||||
.ant-radio,
|
.ant-radio,
|
||||||
.ant-checkbox {
|
.ant-checkbox {
|
||||||
@ -84,6 +85,7 @@ input[type="checkbox"] {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 7px 0;
|
padding: 7px 0;
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
color: @label-color;
|
color: @label-color;
|
||||||
|
Loading…
Reference in New Issue
Block a user