Follow-up to 8a52756 for safari

This commit is contained in:
Kris 2020-03-31 21:57:09 -04:00
parent 771dec9a44
commit 8bd693891a
2 changed files with 7 additions and 0 deletions

View File

@ -187,6 +187,10 @@
> div { > div {
overflow: hidden; // clears the text from wrapping below icons overflow: hidden; // clears the text from wrapping below icons
overflow-wrap: anywhere; overflow-wrap: anywhere;
@supports not (overflow-wrap: anywhere) {
word-break: break-word;
}
// Truncate items with more than 2 lines. // Truncate items with more than 2 lines.
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;

View File

@ -266,6 +266,9 @@
.topic-title { .topic-title {
overflow-wrap: anywhere; overflow-wrap: anywhere;
@supports not (overflow-wrap: anywhere) {
word-break: break-word;
}
margin-right: 0.25em; margin-right: 0.25em;
} }
} }