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;
}