Skip to content

Commit d78392b

Browse files
committed
style(docs): Add vertical-align middle to base badge rule
why: Standalone {badge} in prose text was misaligned with surrounding text. The heading flex and link rules handled their contexts, but the base rule had no vertical-align.
1 parent 43987a4 commit d78392b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/_static/css/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ h4:has(> .sd-badge) {
258258
.sd-badge {
259259
display: inline-flex !important;
260260
align-items: center;
261+
vertical-align: middle;
261262
gap: 0.28rem;
262263
font-size: 0.67rem;
263264
font-weight: 650;

0 commit comments

Comments
 (0)