Skip to content

Commit

Permalink
Ignore empty paragraphs in stack layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Sep 27, 2024
1 parent 6fb0a14 commit 6aaafd9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions core/src/main/resources/render/theme/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 6aaafd9

Please sign in to comment.