diff --git a/extralit/docs/stylesheets/extra.css b/extralit/docs/stylesheets/extra.css index 4eb3a59de..99909bf08 100644 --- a/extralit/docs/stylesheets/extra.css +++ b/extralit/docs/stylesheets/extra.css @@ -150,4 +150,12 @@ height: calc(1/var(--iframe-scale-factor) * 650px); transform-origin: left top; } +} + +/* Fix: Add word-wrap support for code snippets in documentation - GSoC 2026 */ +pre, +code { + white-space: pre-wrap; + word-wrap: break-word; + overflow-wrap: break-word; } \ No newline at end of file