diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-23 22:29:22 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-09-23 22:29:22 -0400 |
| commit | 331f06b9868694e0210658457713e33147d5b6ec (patch) | |
| tree | e6a22dd56d75e00879d875748e7a798564ecfa61 /docs/style.css | |
| parent | a1e3b94d0539aed459ade2b262e9dd197dd6342c (diff) | |
Use a scrollbar for wide <pre>s in docs
Diffstat (limited to 'docs/style.css')
| -rw-r--r-- | docs/style.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/style.css b/docs/style.css index 3f1e41b2..0a8727c9 100644 --- a/docs/style.css +++ b/docs/style.css @@ -58,7 +58,10 @@ code { pre, textarea, .kb { line-height: 1.2; } -pre { margin: 1.6em 0.4em; } +pre { + margin: 1.6em 0.4em; + overflow-x: auto; +} pre, textarea { padding: 0.8em; } textarea { width: 100%; outline: none; resize: vertical; margin: 0; } .cont { margin: 1.3em 0; } |
