Fix border radius when using line numbers

When using line numbers with table style, the border radius for the
corresponding codeblocks leads to annoying gaps between the line numbers
and the actual code.

This commit removes the border radius when the corresponding element is
displayed inside a table (which is the case when line numbers are used
with table format).
This commit is contained in:
TNeitzel 2021-12-25 08:59:39 +01:00
parent a63112050a
commit cb8ae2fc53

View File

@ -160,6 +160,10 @@
border-radius: var(--radius);
}
.post-content table pre {
border-radius: 0;
}
.post-content li > .highlight {
margin-inline-end: 0;
}