css: fix rendering issue for code with numbered lines

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-05-08 14:04:08 +02:00
parent e8721aa8b8
commit 7e45b410c9
1 changed files with 2 additions and 2 deletions

View File

@ -22,13 +22,13 @@
padding: 0 4px; padding: 0 4px;
} }
table code { table:not(.lntable) code {
overflow-wrap: unset; overflow-wrap: unset;
white-space: nowrap; white-space: nowrap;
} }
/* Indented code blocks */ /* Indented code blocks */
:not(.highlight) > pre { pre:not(.chroma) {
@apply my-4 overflow-x-auto p-3; @apply my-4 overflow-x-auto p-3;
font-size: 0.875em; font-size: 0.875em;
border: 1px solid; border: 1px solid;