comments
This commit is contained in:
parent
63325cbf5e
commit
195f2b9caf
1 changed files with 2 additions and 0 deletions
|
@ -173,12 +173,14 @@ table.hljs-ln {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Light theme for the copy code button */
|
||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
.hljs-copy-button {
|
.hljs-copy-button {
|
||||||
filter: invert(100%);
|
filter: invert(100%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide last line in codeblocks if empty */
|
||||||
.hljs-ln
|
.hljs-ln
|
||||||
> tbody
|
> tbody
|
||||||
> tr:last-child:has(td:last-child > span::-moz-only-whitespace) {
|
> tr:last-child:has(td:last-child > span::-moz-only-whitespace) {
|
||||||
|
|
Loading…
Reference in a new issue