Fix vertical alignment for consecutive labels (#893)

Fixes a problem where multiple labels right after a heading are vertically misaligned.

Closes #751.
This commit is contained in:
Eisverygoodletter
2022-07-26 11:41:31 +08:00
committed by GitHub
parent 0a7be65c32
commit b2581c19a6
2 changed files with 24 additions and 1 deletions

View File

@@ -219,7 +219,7 @@
margin-top: 1em;
}
+ p {
+ p:not(.label) {
margin-top: 0;
}
}