diff --git a/assets/cover.html b/assets/cover.html index 96735ce..c1ceb10 100644 --- a/assets/cover.html +++ b/assets/cover.html @@ -58,7 +58,8 @@ flex: 1; display: flex; align-items: flex-start; - word-break: break-all; + word-break: normal; + overflow-wrap: break-word; } .cover-subtitle { diff --git a/assets/styles.css b/assets/styles.css index 7134fee..1f2fb12 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -70,7 +70,8 @@ body { -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: auto; - word-break: break-all; + word-break: normal; + overflow-wrap: break-word; } .cover-subtitle { @@ -199,7 +200,9 @@ body { overflow-x: visible; overflow-wrap: break-word; word-wrap: break-word; - word-break: break-all; + overflow-wrap: break-word; + word-wrap: break-word; + word-break: normal; white-space: pre-wrap; font-size: 36px; line-height: 1.5; @@ -315,4 +318,4 @@ body { .bg-gradient-8 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); -} +} \ No newline at end of file