diff options
author | Igor Kulman <igor@kulman.sk> | 2018-10-19 15:03:44 +0300 |
---|---|---|
committer | Igor Kulman <igor@kulman.sk> | 2018-10-19 15:03:44 +0300 |
commit | fd911c39d2bc71eef364c17ba066c660cbe297d1 (patch) | |
tree | b67753dcf5aff300da379469062737f168af8fea /static | |
parent | ad50c09fb65d0e08299a157b71884f9c393bdeea (diff) |
Improved code block rendering when not using line numbers
Diffstat (limited to 'static')
-rw-r--r-- | static/css/codeblock.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/css/codeblock.css b/static/css/codeblock.css index b4468c1..cf80033 100644 --- a/static/css/codeblock.css +++ b/static/css/codeblock.css @@ -16,7 +16,7 @@ pre code.hljs { border-radius: 4px; } -.highlight td:first-child pre { +.highlight td:first-child pre, .highlight pre { border-top-left-radius: 4px; border-top-right-radius: unset; border-bottom-left-radius: 4px; @@ -24,10 +24,10 @@ pre code.hljs { overflow: hidden; } -.highlight td:last-child pre { +.highlight td:last-child pre, .highlight pre { border-radius: unset; } -.highlight td:last-child pre code { +.highlight td:last-child pre code, .highlight pre code { white-space: pre; -} +}
\ No newline at end of file |