fix(theme): align badges in h1 and h2 (#5087) (closes #5063)

pull/5071/merge
seeksky 8 months ago committed by GitHub
parent f119b18e39
commit b2008654ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -39,15 +39,14 @@ withDefaults(defineProps<Props>(), {
display: none;
}
.vp-doc h1 > .VPBadge {
margin-top: 4px;
vertical-align: top;
.vp-doc h1 > .VPBadge,
.vp-doc h2 > .VPBadge {
margin: 0 0 0 2px;
vertical-align: middle;
}
.vp-doc h2 > .VPBadge {
margin-top: 3px;
padding: 0 8px;
vertical-align: top;
}
.vp-doc h3 > .VPBadge {

Loading…
Cancel
Save