Skip to content

Commit b35f637

Browse files
manny3Tony
and
Tony
authored
fix: Tag component close icon display bug (#5956)
Co-authored-by: Tony <[email protected]>
1 parent 31800cb commit b35f637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/tag/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ const Tag = defineComponent({
8787
const renderCloseIcon = () => {
8888
if (closable) {
8989
return closeIcon ? (
90-
<div class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
90+
<span class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
9191
{closeIcon}
92-
</div>
92+
</span>
9393
) : (
9494
<CloseOutlined class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick} />
9595
);

0 commit comments

Comments
 (0)