diff options
author | Nicolas Dato <nicolas.dato@gmail.com> | 2025-03-28 18:35:52 -0300 |
---|---|---|
committer | Nicolas Dato <nicolas.dato@gmail.com> | 2025-03-28 18:35:52 -0300 |
commit | 2a4da64a8125fef3684de324a5bb95d1fa473a41 (patch) | |
tree | ac754a8b35a730d9e83739bb494b0bd84be228db | |
parent | 63d776b9d6afd037bd115dc365b2dffd5e699991 (diff) |
fixing overflow in mobile
-rw-r--r-- | zola/static/style.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zola/static/style.css b/zola/static/style.css index 6ef3532..15f020f 100644 --- a/zola/static/style.css +++ b/zola/static/style.css @@ -129,6 +129,7 @@ h2 { pre { padding: 1ex; border: var(--border-width) solid var(--primary-border-color); + white-space: pre-wrap; } :link, @@ -169,7 +170,7 @@ pre { .content { flex-grow: 1; - flex-basis: 0; + flex-basis: 15em; padding-left: var(--content-padding-left); padding-right: var(--content-padding-right); } |