Revert "css: adjust alignment in Select & AutoComplete, close: #5088"

This reverts commit c01f24750a.
This commit is contained in:
Benjy Cui 2017-02-28 15:46:45 +08:00
parent bbfc131a85
commit 7c564af6e4
3 changed files with 5 additions and 7 deletions

View File

@ -106,6 +106,7 @@ 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 {

View File

@ -55,7 +55,7 @@
}
.@{input-prefix-cls} {
padding-left: 6px;
border: @border-width-base @border-style-base @border-color-base;
&:focus,
&:hover {
.hover;

View File

@ -351,9 +351,6 @@
}
&-combobox {
.@{select-prefix-cls}-selection__rendered {
margin-left: 6px;
}
.@{select-prefix-cls}-arrow {
display: none;
}
@ -425,20 +422,20 @@
padding: 0;
> .@{select-prefix-cls}-dropdown-menu-item {
padding-left: 15px;
padding-left: 24px;
}
}
&-item-group-title {
color: @text-color-secondary;
line-height: 1.5;
padding: 8px 7px;
padding: 8px 16px;
}
&-item {
position: relative;
display: block;
padding: 7px;
padding: 7px 16px;
font-weight: normal;
color: @text-color;
white-space: nowrap;