Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 6f4a00d

Browse files
committed
fix: assign break-all to the correct label element
1 parent 489cbd0 commit 6f4a00d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/lib/Layout/FormLayout/FormLayout.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,11 @@ export function FormLayout({
153153
>
154154
{labelled && (
155155
<label
156-
className={[__styles.label.base, __styles.label.size[size]].join(
157-
' '
158-
)}
156+
className={[
157+
__styles.label.base,
158+
__styles.label.size[size],
159+
'break-all',
160+
].join(' ')}
159161
htmlFor={id}
160162
>
161163
{beforeLabel && (

0 commit comments

Comments
 (0)