fix: code block with linenos and hl_lines style error

This commit is contained in:
st1020 2024-08-01 20:35:25 +08:00
parent 5371faac79
commit 00975551af
5 changed files with 808 additions and 457 deletions

View file

@ -30,6 +30,27 @@
/* Auto direction for text */
unicode-bidi: plaintext;
}
/* Code block */
pre mark {
@apply block text-inherit;
}
pre table {
@apply !m-0 !w-full border-collapse;
}
pre table tr {
@apply !border-0 !border-none;
}
pre table td {
@apply !p-0;
}
pre table td:nth-of-type(1) {
@apply min-w-4 select-none;
}
}
@layer utilities {