diff options
| Commit | 93ad65cac0c83cdd56f142ee889c63da5042beac (patch) | |
|---|---|---|
| Author | 2026-11-22 09:29:34 +0200 | |
| Committer | 2026-11-22 09:29:34 +0200 | |
| Files | bf4dde40d7fa0647281432cf3eaa63c936d6bda4 | |
| syndamia.com-93ad65cac0c83cdd56f142ee889c63da5042beac.tar syndamia.com-93ad65cac0c83cdd56f142ee889c63da5042beac.tar.gz syndamia.com-93ad65cac0c83cdd56f142ee889c63da5042beac.zip | ||
| Parent | 4bcb0faa5fc52f3b165e5cad99494b64ce5d25bb (diff) | |
feat(styles.css): Scroll code block overflow
1 files changed, 1 insertions, 8 deletions
| -rw-r--r-- | src/styles.css | 9 |
diff --git a/src/styles.css b/src/styles.css index 1d14017..ca4e8e9 100644 --- a/src/styles.css +++ b/src/styles.css @@ -437,8 +437,6 @@ code, code pre { pre { overflow: auto; - word-break: normal; - word-wrap: normal; } code { @@ -450,17 +448,12 @@ pre code { border: 0; display: inline-block; font-size: 100%; - overflow: visible; padding: 0; - word-wrap: normal; } pre > code { - white-space: pre-wrap; - word-break: break-all; padding: 0.9em; - width: 100%; box-sizing: border-box; - line-height: 1em; + line-height: 1.1; tab-size: 4; } |