diff options
| author | Leitwolf | 2026-11-16 14:49:23 +0300 |
|---|---|---|
| committer | GitHub | 2026-11-16 14:49:23 +0300 |
| commit | 324048967d1fb198e3489b1722ca1ff317338550 (patch) | |
| tree | e270ad6dc86200cc79cbdccfa1ef6de1da8aff0d /app/assets | |
| parent | 45c1bb14326cbee8fe57c6f639550e8eadd81f0a (diff) | |
| parent | 4ee77681379619b3fab7b8b33446a67164216cc8 (diff) | |
| download | tazel.net-main.tar.gz | |
Rewrite the site for the Tazel of C, C++, Objective-C, Objective-C++ and Zig
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/site.css | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/site.css b/app/assets/site.css index 2ae7ae3..9594370 100644 --- a/app/assets/site.css +++ b/app/assets/site.css @@ -239,7 +239,7 @@ pre { line-height: 1.65; } -@media (max-width: 720px) { +@media (width <= 720px) { .section { padding-block: 60px; } @@ -324,6 +324,14 @@ pre { white-space: normal; } +/* On a phone a path can be wider than the column: there code breaks where it must. */ +@media (width <= 600px) { + .prose :not(pre) > code { + white-space: normal; + overflow-wrap: anywhere; + } +} + .prose pre code { white-space: pre; } |