style: remove hardcoded inputs height (#4175)

* remove hardcoded inputs height

* revert pagination input height

* revert pagination input heights bis
This commit is contained in:
Pierre 2016-12-15 04:17:09 +01:00 committed by Wei Zhu
parent 304ced31bb
commit 827aa2f94c
6 changed files with 14 additions and 14 deletions

View File

@ -435,7 +435,7 @@ form {
.@{ant-prefix}-input,
.@{ant-prefix}-input-group .@{ant-prefix}-input,
.@{ant-prefix}-input-group .@{ant-prefix}-input-group-addon {
height: 28px;
height: @input-height-base;
}
}

View File

@ -15,7 +15,7 @@
margin: 0;
padding: 0;
font-size: @font-size-base;
height: 28px;
height: @input-height-base;
display: inline-block;
border: 1px solid @border-color-base;
border-radius: @border-radius-base;

View File

@ -199,8 +199,8 @@
&-quick-jumper {
float: left;
height: 28px;
line-height: 28px;
height: @input-height-base;
line-height: @input-height-base;
input {
.input;

View File

@ -115,7 +115,7 @@ span.@{radio-prefix-cls} + * {
.@{radio-prefix-cls}-button-wrapper {
margin: 0;
height: 28px;
height: @input-height-base;
line-height: 26px;
color: @btn-default-color;
display: inline-block;
@ -138,12 +138,12 @@ span.@{radio-prefix-cls} + * {
}
.@{radio-group-prefix-cls}-large & {
height: 32px;
height: @input-height-lg;
line-height: 30px;
}
.@{radio-group-prefix-cls}-small & {
height: 22px;
height: @input-height-sm;
line-height: 20px;
padding: 0 12px;
&:first-child {

View File

@ -137,7 +137,7 @@
}
&-selection--single {
height: 28px;
height: @input-height-base;
position: relative;
cursor: pointer;
}
@ -160,13 +160,13 @@
&-lg {
.@{select-prefix-cls}-selection--single {
height: 32px;
height: @input-height-lg;
}
.@{select-prefix-cls}-selection__rendered {
line-height: 30px;
}
.@{select-prefix-cls}-selection--multiple {
min-height: 32px;
min-height: @input-height-lg;
.@{select-prefix-cls}-selection__rendered {
li {
height: 24px;
@ -181,13 +181,13 @@
border-radius: @border-radius-sm;
}
.@{select-prefix-cls}-selection--single {
height: 22px;
height: @input-height-sm;
}
.@{select-prefix-cls}-selection__rendered {
line-height: 20px;
}
.@{select-prefix-cls}-selection--multiple {
min-height: 22px;
min-height: @input-height-sm;
.@{select-prefix-cls}-selection__rendered {
li {
height: 14px;
@ -268,7 +268,7 @@
}
&-selection--multiple {
min-height: 28px;
min-height: @input-height-base;
cursor: text;
padding-bottom: 3px;
.clearfix;

View File

@ -8,7 +8,7 @@
position: relative;
display: inline-block;
box-sizing: border-box;
height: 22px;
height: @input-height-base;
min-width: 44px;
line-height: 20px;
vertical-align: middle;