Skip to content

Commit 45c4135

Browse files
committed
fix(dropdowns.next): prevent combobox Option and menu Item overflow (#1777)
1 parent 3a53a92 commit 45c4135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dropdowns/src/views/combobox/StyledOption.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const StyledOption = styled.li.attrs({
8080
position: relative;
8181
transition: color 0.25s ease-in-out;
8282
cursor: ${props => (props.$type === 'group' || props.$type === 'header' ? 'default' : 'pointer')};
83-
word-wrap: break-word;
83+
overflow-wrap: anywhere;
8484
font-weight: ${props =>
8585
props.$type === 'header' || props.$type === 'previous'
8686
? props.theme.fontWeights.semibold

0 commit comments

Comments
 (0)