mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix(Input): fix Search allowClear border missing in Compact mode (#56105)
Co-authored-by: 遇见同学 <1875694521@qq.com>
This commit is contained in:
@@ -667,7 +667,10 @@ export default genStyleHooks(
|
||||
// =====================================================
|
||||
// == Space Compact ==
|
||||
// =====================================================
|
||||
genCompactItemStyle(inputToken),
|
||||
genCompactItemStyle(inputToken, {
|
||||
focus: true,
|
||||
focusElCls: `${inputToken.componentCls}-affix-wrapper-focused`,
|
||||
}),
|
||||
];
|
||||
},
|
||||
initComponentToken,
|
||||
|
||||
Reference in New Issue
Block a user