diff --git a/core/src/main/resources/render/theme/global.css b/core/src/main/resources/render/theme/global.css index d3470776..7e085177 100644 --- a/core/src/main/resources/render/theme/global.css +++ b/core/src/main/resources/render/theme/global.css @@ -242,6 +242,14 @@ code.focus-lines .hljs-ln-line:not(.focused), align-items: end; } +.stack > p, .clip > p { + margin: 0; +} + +.stack > p:empty { + display: none; +} + .stack-row { display: flex; flex-direction: row; @@ -443,10 +451,6 @@ code.focus-lines .hljs-ln-line:not(.focused), max-height: 100% !important; } -.stack > p, .clip > p { - margin: 0; -} - /* Table of contents */ nav {