Skip to content

Commit b8564b8

Browse files
committed
Add overflowWrap style to EnumFacetFilterOption for better text handling
1 parent 43a6b5f commit b8564b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/synapse-react-client/src/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ export function EnumFacetFilterOption(props: EnumFacetFilterOptionProps) {
4242
<FormControlLabel
4343
control={control}
4444
className="EnumFacetFilter__checkbox"
45+
sx={{
46+
overflowWrap: 'anywhere',
47+
}}
4548
onClick={event => event.stopPropagation()}
4649
onChange={(_event, newValue) => {
4750
onChange(newValue)

0 commit comments

Comments
 (0)