mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 04:13:13 +08:00
style: remove hardcoded inputs height (#4175)
* remove hardcoded inputs height * revert pagination input height * revert pagination input heights bis
This commit is contained in:
parent
304ced31bb
commit
827aa2f94c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -199,8 +199,8 @@
|
||||
|
||||
&-quick-jumper {
|
||||
float: left;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
height: @input-height-base;
|
||||
line-height: @input-height-base;
|
||||
|
||||
input {
|
||||
.input;
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user