mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-21 18:56:03 +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,
|
||||||
.@{ant-prefix}-input-group .@{ant-prefix}-input,
|
.@{ant-prefix}-input-group .@{ant-prefix}-input,
|
||||||
.@{ant-prefix}-input-group .@{ant-prefix}-input-group-addon {
|
.@{ant-prefix}-input-group .@{ant-prefix}-input-group-addon {
|
||||||
height: 28px;
|
height: @input-height-base;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: @font-size-base;
|
font-size: @font-size-base;
|
||||||
height: 28px;
|
height: @input-height-base;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1px solid @border-color-base;
|
border: 1px solid @border-color-base;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
|
@ -199,8 +199,8 @@
|
|||||||
|
|
||||||
&-quick-jumper {
|
&-quick-jumper {
|
||||||
float: left;
|
float: left;
|
||||||
height: 28px;
|
height: @input-height-base;
|
||||||
line-height: 28px;
|
line-height: @input-height-base;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
.input;
|
.input;
|
||||||
|
@ -115,7 +115,7 @@ span.@{radio-prefix-cls} + * {
|
|||||||
|
|
||||||
.@{radio-prefix-cls}-button-wrapper {
|
.@{radio-prefix-cls}-button-wrapper {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 28px;
|
height: @input-height-base;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
color: @btn-default-color;
|
color: @btn-default-color;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -138,12 +138,12 @@ span.@{radio-prefix-cls} + * {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.@{radio-group-prefix-cls}-large & {
|
.@{radio-group-prefix-cls}-large & {
|
||||||
height: 32px;
|
height: @input-height-lg;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{radio-group-prefix-cls}-small & {
|
.@{radio-group-prefix-cls}-small & {
|
||||||
height: 22px;
|
height: @input-height-sm;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
|
@ -137,7 +137,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-selection--single {
|
&-selection--single {
|
||||||
height: 28px;
|
height: @input-height-base;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@ -160,13 +160,13 @@
|
|||||||
|
|
||||||
&-lg {
|
&-lg {
|
||||||
.@{select-prefix-cls}-selection--single {
|
.@{select-prefix-cls}-selection--single {
|
||||||
height: 32px;
|
height: @input-height-lg;
|
||||||
}
|
}
|
||||||
.@{select-prefix-cls}-selection__rendered {
|
.@{select-prefix-cls}-selection__rendered {
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
.@{select-prefix-cls}-selection--multiple {
|
.@{select-prefix-cls}-selection--multiple {
|
||||||
min-height: 32px;
|
min-height: @input-height-lg;
|
||||||
.@{select-prefix-cls}-selection__rendered {
|
.@{select-prefix-cls}-selection__rendered {
|
||||||
li {
|
li {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
@ -181,13 +181,13 @@
|
|||||||
border-radius: @border-radius-sm;
|
border-radius: @border-radius-sm;
|
||||||
}
|
}
|
||||||
.@{select-prefix-cls}-selection--single {
|
.@{select-prefix-cls}-selection--single {
|
||||||
height: 22px;
|
height: @input-height-sm;
|
||||||
}
|
}
|
||||||
.@{select-prefix-cls}-selection__rendered {
|
.@{select-prefix-cls}-selection__rendered {
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
.@{select-prefix-cls}-selection--multiple {
|
.@{select-prefix-cls}-selection--multiple {
|
||||||
min-height: 22px;
|
min-height: @input-height-sm;
|
||||||
.@{select-prefix-cls}-selection__rendered {
|
.@{select-prefix-cls}-selection__rendered {
|
||||||
li {
|
li {
|
||||||
height: 14px;
|
height: 14px;
|
||||||
@ -268,7 +268,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-selection--multiple {
|
&-selection--multiple {
|
||||||
min-height: 28px;
|
min-height: @input-height-base;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
padding-bottom: 3px;
|
padding-bottom: 3px;
|
||||||
.clearfix;
|
.clearfix;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 22px;
|
height: @input-height-base;
|
||||||
min-width: 44px;
|
min-width: 44px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
Loading…
Reference in New Issue
Block a user