Skip to content

Commit

Permalink
Fix Select in Firefox (#518)
Browse files Browse the repository at this point in the history
* fix select items width in firefox

* fix generic menu items width in firefox
  • Loading branch information
ariser authored Jan 10, 2025
1 parent b3e7249 commit 9333a69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/components/GenericMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const Arrow = styled.svg`
export const GenericMenuItem = styled.div`
display: flex;
width: 100%;
width: -moz-available;
width: -webkit-fill-available;
width: fill-available;
width: stretch;
Expand Down
1 change: 0 additions & 1 deletion src/components/Select/common/SelectStyled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ export const HiddenSelectElement = styled.select`
export const SelectGroupContainer = styled.div`
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: -webkit-fill-available;
width: fill-available;
Expand Down

0 comments on commit 9333a69

Please sign in to comment.