🐛 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
+4
View File
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
### Fixed
- Shortcodes placed after code blocks with line numbers are rendered with incorrect spacing ([#987](https://github.com/jpanther/congo/issues/987))
## [2.11.0] - 2025-02-24
### Added
+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;