fix scroll and copy button on codeblocks
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
This commit is contained in:
parent
16ebe0faf5
commit
fbe89f3cf6
1 changed files with 10 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue