From 3816778b6bff0d5a7d1ff36c661cf2f20185b1ea Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 27 Jun 2017 11:01:11 +0800 Subject: [PATCH] Fix select overflow bug, close #6621 --- components/select/style/index.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/select/style/index.less b/components/select/style/index.less index 27b3d08565..bed8bce2eb 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -281,7 +281,9 @@ .@{select-prefix-cls}-search--inline { width: auto; padding: 0; + max-width: 100%; .@{select-prefix-cls}-search__field { + max-width: 100%; width: 0.75em; } }