feat(core): tweak content sub spacing

This commit is contained in:
alistair3149 2022-12-20 14:06:07 -08:00 committed by GitHub
parent a5747ad84b
commit 985ecb2aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,16 @@
line-height: var( --line-height-xs );
}
#contentSub,
#contentSub2 {
margin-bottom: var( --space-md );
}
// Reduced spacing if both sub1 and 2 exists
#contentSub + #contentSub2 {
margin-top: ~'calc( var( --space-xs ) * -1 )';
}
span.subpages {
display: block;
}