From 2aedff3d2bbdcad93d6ca0ec883c446c703cafaa Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 6 Oct 2025 14:19:23 +0200 Subject: fix(frontend): code multi line does not wrap --- frontend/scss/general.scss | 6 ++++++ frontend/scss/special.scss | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'frontend') diff --git a/frontend/scss/general.scss b/frontend/scss/general.scss index 0d9acf3..694a4b0 100644 --- a/frontend/scss/general.scss +++ b/frontend/scss/general.scss @@ -160,9 +160,15 @@ pre { padding: 0.5rem 1rem; & code { + display: block; + max-width: 100%; + padding: 0; background: none; border: none; + + word-break: break-all; + white-space: break-spaces; } } diff --git a/frontend/scss/special.scss b/frontend/scss/special.scss index 3510f21..bee2ecb 100644 --- a/frontend/scss/special.scss +++ b/frontend/scss/special.scss @@ -39,7 +39,7 @@ header { & a { display: block; - min-width: 8rem; + min-width: 7rem; font-family: monospace; } @@ -56,4 +56,4 @@ footer { border-top: var(--color-light) 2px solid; font-size: var(--font-size-tiny); -} \ No newline at end of file +} -- cgit v1.2.3