fix(style): form element vertical align issue

This commit is contained in:
afc163 2016-04-06 15:59:57 +08:00
parent b9b4e30ac1
commit af04694776
2 changed files with 3 additions and 1 deletions

View File

@ -233,7 +233,8 @@ form {
}
.@{css-prefix}radio-inline,
.@{css-prefix}checkbox-inline {
.@{css-prefix}checkbox-inline,
.@{css-prefix}input {
vertical-align: top;
}
}

View File

@ -38,6 +38,7 @@
.input() {
position: relative;
display: inline-block;
vertical-align: middle;
padding: @input-padding-vertical-base @input-padding-horizontal;
width: 100%;
height: @input-height-base;