diff --git a/components/auto-complete/demo/uncertain-category.md b/components/auto-complete/demo/uncertain-category.md
index ad3ef8d49e..3f9e198cd2 100644
--- a/components/auto-complete/demo/uncertain-category.md
+++ b/components/auto-complete/demo/uncertain-category.md
@@ -41,16 +41,20 @@ function searchResult(query) {
function renderOption(item) {
return (
);
}
@@ -122,8 +126,17 @@ ReactDOM.render(, mountNode);
border-bottom-left-radius: 0;
}
+.global-search-item {
+ display: flex;
+}
+
+.global-search-item-desc {
+ flex: auto;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
.global-search-item-count {
- position: absolute;
- right: 16px;
+ flex: none;
}
````