aboutsummaryrefslogtreecommitdiff
path: root/frontend/scss/general.scss
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-06 14:19:23 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-06 14:19:23 +0200
commit2aedff3d2bbdcad93d6ca0ec883c446c703cafaa (patch)
treefcf05632375779fe909155acefe93555e97e401b /frontend/scss/general.scss
parent0ac33061f8275a6808276adfa8ea8b8dcd92d7c9 (diff)
fix(frontend): code multi line does not wrap
Diffstat (limited to 'frontend/scss/general.scss')
-rw-r--r--frontend/scss/general.scss6
1 files changed, 6 insertions, 0 deletions
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;
}
}