Skip to content

Commit 5fd4bdf

Browse files
author
Stefanie Hein
committed
Merge branch 'master' into css-responsive-patch-67341
* master: Add compiled code Labels: allows long uninterrupted strings like hashes or IDs to be broken onto a new line.
2 parents 0c2951b + d58c8fb commit 5fd4bdf

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

public/cui_fylr.css

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)