diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-06 14:19:23 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-06 14:19:23 +0200 |
| commit | 2aedff3d2bbdcad93d6ca0ec883c446c703cafaa (patch) | |
| tree | fcf05632375779fe909155acefe93555e97e401b /frontend | |
| parent | 0ac33061f8275a6808276adfa8ea8b8dcd92d7c9 (diff) | |
fix(frontend): code multi line does not wrap
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/scss/general.scss | 6 | ||||
| -rw-r--r-- | frontend/scss/special.scss | 4 |
2 files changed, 8 insertions, 2 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; } } 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 +} |
