diff --git a/components/input/style/index.ts b/components/input/style/index.ts index 4ac3c73c5e..20dc670845 100644 --- a/components/input/style/index.ts +++ b/components/input/style/index.ts @@ -421,6 +421,7 @@ const genAllowClearStyle = (token: InputToken): CSSObject => { // ========================= Input ========================= [`${componentCls}-clear-icon`]: { margin: 0, + padding: 0, lineHeight: 0, color: token.colorTextQuaternary, fontSize: token.fontSizeIcon, diff --git a/components/mentions/style/index.ts b/components/mentions/style/index.ts index ad3472db10..213d69df83 100644 --- a/components/mentions/style/index.ts +++ b/components/mentions/style/index.ts @@ -126,6 +126,7 @@ const genMentionsStyle: GenerateStyle = (token) => { insetBlockStart: calc(fontSize).mul(lineHeight).mul(0.5).add(paddingBlock).equal(), transform: `translateY(-50%)`, margin: 0, + padding: 0, color: colorTextQuaternary, fontSize: fontSizeIcon, verticalAlign: -1,