Skip to content

Commit

Permalink
[@mantine/core] Select: Fix unexpected horizontal scrollbar in items …
Browse files Browse the repository at this point in the history
…with long text (#4296)

* [@mantine/core] Select: only use open/close callback when value changes

* [@mantine/core] Select: do not use early return

* [@mantine/core] Menu - revert PR #2646

* [@mantine/core] Select - remove white space pre

* [@mantine/core] Select - break all for options
  • Loading branch information
wes337 committed May 30, 2023
1 parent aa51ef1 commit 9196ddc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,7 +4,7 @@ export default createStyles((theme, _params, { size }) => ({
item: {
...theme.fn.fontStyles(),
boxSizing: 'border-box',
whiteSpace: 'pre',
wordBreak: 'break-all',
textAlign: 'left',
width: '100%',
padding: `calc(${getSize({ size, sizes: theme.spacing })} / 1.5) ${getSize({
Expand Down

0 comments on commit 9196ddc

Please sign in to comment.