diff --git a/src/components/MagicInput/index.jsx b/src/components/MagicInput/index.jsx index e1affc78..7e88042e 100644 --- a/src/components/MagicInput/index.jsx +++ b/src/components/MagicInput/index.jsx @@ -578,7 +578,11 @@ class MagicInput extends PureComponent { /> {this.renderMenu()} - + {this.renderClose()} diff --git a/src/components/MagicInput/index.less b/src/components/MagicInput/index.less index 741a37f6..4ab5dc0c 100644 --- a/src/components/MagicInput/index.less +++ b/src/components/MagicInput/index.less @@ -19,6 +19,7 @@ .ant-tag { height: 24px; margin-right: 4px; + margin-bottom: 1px; padding: 0 4px; color: #fff; font-size: 10px; @@ -140,12 +141,19 @@ line-height: 32px; } +.search-icon-hidden { + display: none; +} + .close-btn-col { - height: 24px; - line-height: 24px; + position: absolute; + top: 0; + right: 0; + height: 30px; + line-height: 30px; .close-btn { - height: 24px !important; + height: 28px !important; padding: 0; border: none; }