Skip to content

Commit

Permalink
Make suggestion list word wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Aug 28, 2023
1 parent ab702d8 commit b813754
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ export const AutoCompleteItem = forwardRef<HTMLDivElement, ItemProps>(
) {
return (
<div ref={ref} {...others}>
<Flex justify="space-between" wrap="nowrap">
<Flex
justify="space-between"
wrap="nowrap"
sx={{ wordBreak: 'normal' }}
>
<Text>{value}</Text>
{group_label === 'Taxonomies' && (
<Badge maw="100px" fullWidth>
Expand Down

0 comments on commit b813754

Please sign in to comment.