🐛 Fix spacing around code blocks with line numbers enabled

Fixes: #987
This commit is contained in:
James Panther
2025-02-25 09:37:45 +11:00
parent 591610919e
commit 42306dbe62
3 changed files with 12 additions and 0 deletions
+5
View File
@@ -1307,6 +1307,11 @@ code {
padding: 0px;
}
.prose div.chroma {
margin-bottom: 1.5rem;
margin-top: 1.5rem;
}
/* LineTable */
.chroma .lntable {
+3
View File
@@ -126,6 +126,9 @@ code {
.chroma pre {
@apply m-0 p-0;
}
.prose div.chroma {
@apply mb-6 mt-6;
}
/* LineTable */
.chroma .lntable {
@apply m-0 block w-auto overflow-auto text-base;