diff options
author | Thorsten <thenktor@users.noreply.github.com> | 2020-09-01 10:37:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 10:37:20 +0300 |
commit | 3a3c3c6650f973971e0bf3b8b5602927c097c795 (patch) | |
tree | 9d52b171e7b5a190d79158dd7065997adde7dfca | |
parent | bfc381df056ea7cc62752693a0ccf2d7431d3e76 (diff) |
Update style.css
`white-space: pre-wrap` breaks syntax highlighting with line numbers in tables. Changed to `overflow-x: auto` to add vertical scroll bars instead. IMHO this also makes code more readable.
-rw-r--r-- | static/css/style.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/css/style.css b/static/css/style.css index ee47c26..3990f6b 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,6 +1,6 @@ html {overflow-y: scroll} body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:#444}h1,h2,h3{line-height:1.2}@media (prefers-color-scheme: dark){body{color:white;background:#444}a:link{color:#5bf}a:visited{color:#ccf}} p > code{color: #FFFFFF; background:#000000; padding:2px} -pre{color: #FFFFFF; background:#000000; padding:24px; white-space: pre-wrap} +pre{color: #FFFFFF; background:#000000; padding:24px; overflow-x: auto} article{padding:24px 0} .center {display: block;margin-left: auto;margin-right: auto;width: 100%;} |