mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
css: adjust alignment in Select & AutoComplete, close: #5088
This commit is contained in:
parent
dd86e33283
commit
c01f24750a
@ -106,7 +106,6 @@ ReactDOM.render(<Complete />, mountNode);
|
|||||||
|
|
||||||
.global-search.ant-select-auto-complete .ant-input {
|
.global-search.ant-select-auto-complete .ant-input {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
padding: 11px 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.global-search.ant-select-auto-complete .ant-select-selection__placeholder {
|
.global-search.ant-select-auto-complete .ant-select-selection__placeholder {
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.@{input-prefix-cls} {
|
.@{input-prefix-cls} {
|
||||||
border: @border-width-base @border-style-base @border-color-base;
|
padding-left: 6px;
|
||||||
&:focus,
|
&:focus,
|
||||||
&:hover {
|
&:hover {
|
||||||
.hover;
|
.hover;
|
||||||
|
@ -351,6 +351,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-combobox {
|
&-combobox {
|
||||||
|
.@{select-prefix-cls}-selection__rendered {
|
||||||
|
margin-left: 6px;
|
||||||
|
}
|
||||||
.@{select-prefix-cls}-arrow {
|
.@{select-prefix-cls}-arrow {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -422,20 +425,20 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
> .@{select-prefix-cls}-dropdown-menu-item {
|
> .@{select-prefix-cls}-dropdown-menu-item {
|
||||||
padding-left: 24px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-item-group-title {
|
&-item-group-title {
|
||||||
color: @text-color-secondary;
|
color: @text-color-secondary;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
padding: 8px 16px;
|
padding: 8px 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-item {
|
&-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 7px 16px;
|
padding: 7px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
Loading…
Reference in New Issue
Block a user