fix scroll and copy button on codeblocks
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-04-25 02:56:32 +02:00
parent 16ebe0faf5
commit fbe89f3cf6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -113,6 +113,16 @@ a:hover {
text-align: right;
}
/* Fix scroll in codeblocks with line numbering */
table.hljs-ln {
overflow: hidden;
}
@media (prefers-color-scheme: light) {
.hljs-copy-button {
filter: invert(100%);
}
}
.hljs-ln
> tbody
> tr:last-child:has(td:last-child > span::-moz-only-whitespace) {