diff --git a/examples/docs/zh-cn/input.md b/examples/docs/zh-cn/input.md index e894b24d4..fd59fd0f6 100644 --- a/examples/docs/zh-cn/input.md +++ b/examples/docs/zh-cn/input.md @@ -188,6 +188,10 @@ font-size: 12px; color: #b4b4b4; } + + .highlighted .addr { + color: #ddd; + } } } } diff --git a/packages/theme-default/src/autocomplete.css b/packages/theme-default/src/autocomplete.css index b81ee9641..c65165750 100644 --- a/packages/theme-default/src/autocomplete.css +++ b/packages/theme-default/src/autocomplete.css @@ -34,8 +34,10 @@ overflow: hidden; text-overflow: ellipsis; - &.highlighted, &:hover { + background-color: var(--select-option-hover-background); + } + &.highlighted { background-color: var(--color-primary); color: #fff; }