fix: label should align left when it occupy the whole line (#2517)

This commit is contained in:
yeliex 2016-07-28 08:39:03 +08:00 committed by Benjy Cui
parent e865f1fc84
commit 14d6bd80da

View File

@ -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;