Skip to content

Commit c1a541f

Browse files
committed
set global body wrapping policy for ordinary text
Long unbroken text (currently seen with URLs in the architecture page) can force horizontal page overflow on mobile. Apply `overflow-wrap: break-word` at the `body` level as a global safeguard and default policy: regular content should wrap rather than widen the viewport. This is intentionally global instead of targeting specific elements, so new non-specialized content also gets safe wrapping by default. Specialized components (for example code blocks and tables) can keep their own overflow behavior where preserving layout/fidelity is more important.
1 parent 614576d commit c1a541f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/sass/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ body {
44
background-image: linear-gradient(#d7cdc0ff, #fdf7f6ff);
55
margin-right: 10%;
66
margin-left: 10%;
7+
overflow-wrap: break-word;
78
}
89
.block {
910
background-color: rgb(247, 243, 239);

0 commit comments

Comments
 (0)