fix(ui): unify close button icons and hover styling

This commit is contained in:
l0ng-ai
2026-11-17 00:12:25 +08:00
parent 741730b7e0
commit 2d85e745e7
8 changed files with 72 additions and 59 deletions
+4 -4
View File
@@ -148,16 +148,16 @@ function FilterChip({
{!set && <Icon name="chevron-down" size={12} className={styles.chipChevron} />}
</button>
{set && (
<button
<IconButton
type="button"
className={styles.chipReset}
aria-label={t`Reset ${name}`}
onClick={() => onChange(undefined)}
onKeyDown={onKeyDown}
tabIndex={-1}
>
<Icon name="close" size={12} />
</button>
icon="close"
size="small"
/>
)}
{anchor &&
popup(anchor, (v) => {