diff --git a/components/auto-complete/demo/uncertain-category.md b/components/auto-complete/demo/uncertain-category.md index 3fd43f86e9..47396a37b6 100644 --- a/components/auto-complete/demo/uncertain-category.md +++ b/components/auto-complete/demo/uncertain-category.md @@ -106,7 +106,6 @@ ReactDOM.render(, mountNode); .global-search.ant-select-auto-complete .ant-input { height: 40px; - padding: 11px 12px; } .global-search.ant-select-auto-complete .ant-select-selection__placeholder { diff --git a/components/auto-complete/style/index.less b/components/auto-complete/style/index.less index 529c1e6e86..21c346b7eb 100644 --- a/components/auto-complete/style/index.less +++ b/components/auto-complete/style/index.less @@ -55,7 +55,7 @@ } .@{input-prefix-cls} { - border: @border-width-base @border-style-base @border-color-base; + padding-left: 6px; &:focus, &:hover { .hover; diff --git a/components/select/style/index.less b/components/select/style/index.less index 3baa2f68af..321adef655 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -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;