mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
parent
ead1ca5ce2
commit
e2a1b30bd7
@ -27,13 +27,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.explainAndExtraDistance(@num) when (@a>=0) {
|
||||
padding-top: floor(@num);
|
||||
}
|
||||
.explainAndExtraDistance(@num) when (@a<0) {
|
||||
margin-top: floor(@num);
|
||||
}
|
||||
|
||||
// ================================================================
|
||||
// = Item =
|
||||
// ================================================================
|
||||
@ -130,7 +123,7 @@
|
||||
&-extra {
|
||||
clear: both;
|
||||
min-height: @form-item-margin-bottom;
|
||||
.explainAndExtraDistance((@form-item-margin-bottom - @form-font-height) / 2);
|
||||
padding-top: floor((@form-item-margin-bottom - @form-font-height) / 2);
|
||||
color: @text-color-secondary;
|
||||
font-size: @font-size-base;
|
||||
line-height: @line-height-base;
|
||||
|
Loading…
Reference in New Issue
Block a user