From 092cfcf84118577cf177264bb5ad3551afec25b1 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 7 Jan 2023 22:26:16 -0800 Subject: [PATCH] Fix highlighting quirks with Bootstrap --- layouts/partials/paige/style.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/layouts/partials/paige/style.html b/layouts/partials/paige/style.html index 679c3372..04e5208d 100644 --- a/layouts/partials/paige/style.html +++ b/layouts/partials/paige/style.html @@ -37,6 +37,15 @@ section[class="paige-content"] > div { } {{ end }} +.highlight .chroma pre { + margin-bottom: 0; +} + +.highlight .chroma .lnt, +.highlight .chroma .hl { + display: flex; +} + .paige-figure > div > div[class="highlight"] > pre, .paige-figure > div > :last-child { margin-bottom: 0; }