Skip to content

Commit

Permalink
Fix clear button height
Browse files Browse the repository at this point in the history
  • Loading branch information
csandman committed Oct 23, 2024
1 parent ba8e112 commit 6d5cf25
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/chakra-components/control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ export const ClearIndicator = <

return (
<Box
role="button"
className={cx(
{
indicator: true,
Expand All @@ -222,7 +221,13 @@ export const ClearIndicator = <
asChild
{...innerProps}
>
<IconButton size="sm" variant="plain" pointerEvents="auto">
<IconButton
size="xs"
variant="plain"
focusVisibleRing="inside"
focusRingWidth="2px"
pointerEvents="auto"
>
{children || <CloseIcon css={iconCss} />}
</IconButton>
</Box>
Expand Down

0 comments on commit 6d5cf25

Please sign in to comment.