mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
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:
parent
a63112050a
commit
cb8ae2fc53
@ -160,6 +160,10 @@
|
|||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-content table pre {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.post-content li > .highlight {
|
.post-content li > .highlight {
|
||||||
margin-inline-end: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user