Skip to content

Commit 2117ecc

Browse files
niyapilhan007
authored andcommitted
fix(ui5-checkbox): fix wrapping of a long word (#1007)
1 parent 82b1a07 commit 2117ecc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/main/src/themes/CheckBox.css

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
margin-top: var(--_ui5_checkbox_wrapped_content_margin_top);
3636
}
3737

38+
:host([wrap][text]) .ui5-checkbox-root .ui5-checkbox-label {
39+
word-break: break-all;
40+
}
41+
3842
:host([wrap]) .ui5-checkbox-root:focus::before {
3943
bottom: var(--_ui5_checkbox_wrapped_focus_left_top_bottom_position);
4044
}

0 commit comments

Comments
 (0)