Improved codeblock rendering.
This commit is contained in:
parent
1a5d075d00
commit
68d9a070b0
1 changed files with 27 additions and 3 deletions
|
|
@ -7,3 +7,27 @@
|
||||||
pre code.hljs {
|
pre code.hljs {
|
||||||
padding: 9.5px;
|
padding: 9.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.highlight tr, .highlight pre {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight div:first-child {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight td:first-child pre {
|
||||||
|
border-top-left-radius: 4px;
|
||||||
|
border-top-right-radius: unset;
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
border-bottom-right-radius: unset;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight td:last-child pre {
|
||||||
|
border-radius: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight td:last-child pre code {
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue