Skip to content

Commit

Permalink
fix: select width
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jun 3, 2023
1 parent 43677d4 commit 25e50b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/fuselage/src/components/Select/SelectAria.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const SelectAria = function SelectAria<T extends object>({
const { focusProps, isFocusVisible } = useFocusRing();

return (
<Box w='100%'>
<>
<HiddenSelect
state={state}
triggerRef={ref}
Expand All @@ -65,7 +65,6 @@ export const SelectAria = function SelectAria<T extends object>({
fontScale='p2'
ref={ref}
justifyContent='space-between'
w='100%'
className={[
error && 'invalid',
disabled && 'disabled',
Expand Down Expand Up @@ -99,6 +98,6 @@ export const SelectAria = function SelectAria<T extends object>({
</OptionContainer>
</Popover>
)}
</Box>
</>
);
};

0 comments on commit 25e50b8

Please sign in to comment.