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 ++++++ 1 file changed, 6 insertions(+) (limited to 'frontend/scss/general.scss') 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; } } -- cgit v1.2.3