Skip to content

Commit

Permalink
fix: assign break-all to the correct label element
Browse files Browse the repository at this point in the history
  • Loading branch information
joshenlim committed Jul 19, 2022
1 parent 489cbd0 commit 6f4a00d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/lib/Layout/FormLayout/FormLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,11 @@ export function FormLayout({
>
{labelled && (
<label
className={[__styles.label.base, __styles.label.size[size]].join(
' '
)}
className={[
__styles.label.base,
__styles.label.size[size],
'break-all',
].join(' ')}
htmlFor={id}
>
{beforeLabel && (
Expand Down

0 comments on commit 6f4a00d

Please sign in to comment.