diff --git a/components/select/demo/combobox.md b/components/select/demo/combobox.md index 45d8dc604c..1ab2fb21f0 100644 --- a/components/select/demo/combobox.md +++ b/components/select/demo/combobox.md @@ -1,4 +1,4 @@ -# suggest +# 智能提示 - order: 4 diff --git a/components/select/demo/tags.md b/components/select/demo/tags.md index 5d4ed205c6..ccecc4abe8 100644 --- a/components/select/demo/tags.md +++ b/components/select/demo/tags.md @@ -1,4 +1,4 @@ -# tags +# 标签 - order: 3 diff --git a/style/components/select.less b/style/components/select.less index 03f92da57d..fc87773f52 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -109,7 +109,7 @@ //display: inline-block; overflow: hidden; text-overflow: ellipsis; - padding-left: 8px; + padding-left: 4px; padding-bottom: 4px; } @@ -242,6 +242,19 @@ background-color: rgba(142, 200, 249, 0.1) !important; } + &-selected { + position: relative; + &:after { + content: '\e613'; + font-family: 'anticon'; + font-weight: bold; + position: absolute; + top: 6px; + right: 16px; + color: #3CB8F0; + } + } + &-disabled { color: #ccc; cursor: not-allowed;