Skip to content

Commit

Permalink
fix: select button sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pagebakers committed Sep 16, 2023
1 parent 8b30165 commit 96b0a05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/shaggy-cows-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@saas-ui/forms': patch
'@saas-ui/react': patch
---

Fixed select button sizes
3 changes: 2 additions & 1 deletion packages/saas-ui-forms/src/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export const SelectButton = forwardRef<SelectButtonProps, 'button'>(
minW: 0,
...styles.field,
h: 'auto',
...props.sx,
}

const buttonProps = useMenuButton(rest, ref)
Expand All @@ -107,7 +108,7 @@ export const SelectButton = forwardRef<SelectButtonProps, 'button'>(
return (
<Button
{...buttonProps}
{...buttonStyles}
sx={buttonStyles}
id={id || buttonProps.id}
{...rest}
onFocus={onFocus}
Expand Down

0 comments on commit 96b0a05

Please sign in to comment.