Skip to content

Commit 3d12de7

Browse files
author
Stefanie Hein
committed
Labels: allows long uninterrupted strings like hashes or IDs to be broken onto a new line.
1 parent c94e4c2 commit 3d12de7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/scss/themes/fylr/components/_dialogs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// turn all labels into multiline labels
2323
.cui-label:not(.cui-label-markdown) {
2424
.cui-label-content {
25-
word-wrap: break-word;
25+
overflow-wrap: anywhere;
2626
white-space: pre-wrap;
2727
}
2828
}

src/scss/themes/fylr/components/_labels.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ label[data-label-clickable],
221221
white-space: normal;
222222
overflow: visible;
223223
text-overflow: clip;
224-
word-wrap: break-word;
225-
overflow-wrap: break-word;
224+
overflow-wrap: anywhere;
226225
}
227226

228227
&.cui-label-centered {

0 commit comments

Comments
 (0)