mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +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 {
|
||||
height: 40px;
|
||||
padding: 11px 12px;
|
||||
}
|
||||
|
||||
.global-search.ant-select-auto-complete .ant-select-selection__placeholder {
|
||||
|
@ -55,7 +55,7 @@
|
||||
}
|
||||
|
||||
.@{input-prefix-cls} {
|
||||
border: @border-width-base @border-style-base @border-color-base;
|
||||
padding-left: 6px;
|
||||
&:focus,
|
||||
&:hover {
|
||||
.hover;
|
||||
|
@ -351,6 +351,9 @@
|
||||
}
|
||||
|
||||
&-combobox {
|
||||
.@{select-prefix-cls}-selection__rendered {
|
||||
margin-left: 6px;
|
||||
}
|
||||
.@{select-prefix-cls}-arrow {
|
||||
display: none;
|
||||
}
|
||||
@ -422,20 +425,20 @@
|
||||
padding: 0;
|
||||
|
||||
> .@{select-prefix-cls}-dropdown-menu-item {
|
||||
padding-left: 24px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
&-item-group-title {
|
||||
color: @text-color-secondary;
|
||||
line-height: 1.5;
|
||||
padding: 8px 16px;
|
||||
padding: 8px 7px;
|
||||
}
|
||||
|
||||
&-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 7px 16px;
|
||||
padding: 7px;
|
||||
font-weight: normal;
|
||||
color: @text-color;
|
||||
white-space: nowrap;
|
||||
|
Loading…
Reference in New Issue
Block a user