[Bug] GFM Callout blocks overflow vertical height and break layout in single-view render mode
Markpad version
2.7.4
How did you install it?
Linux — AppImage
OS and version
CachyOS - BSPWM
What happens, and what you expected instead
What happened:
When using Markpad in single-view render mode (toggling from the single-file editor to the preview screen using the Ctrl + E shortcut, without split-pane view), GitHub Flavored Markdown (GFM) callout blocks (e.g., > [!TIP], > [!NOTE]) suffer from a height calculation bug. The left vertical border and the callout's bounding box stretch down abnormally, covering subsequent code blocks and text elements.
What I expected :
The callout container should wrap its content tightly and accurately (just like it correctly does in split-pane mode), without breaking the vertical flow of the document.
Steps to reproduce
-
Open a Markdown file in Markpad using single-file edit mode (no split view).
-
Add a GFM callout block. example: > [!TIP]
-
Press Ctrl + E to toggle to single-view render mode (preview).
-
Observe how the callout box vertically overflows and overlaps the rest of the document.
The Markdown that triggers it
> [!TIP] Title Example
> This is a test content inside the callout block that triggers the vertical height overflow bug when toggling view with Ctrl + E.