Merge pull request #13 from mntn-xyz/patch-9

Prevent super/subscript from affecting line height
This commit is contained in:
Joe Roe 2021-08-09 13:30:32 +02:00 committed by GitHub
commit b3cf3d58a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -153,3 +153,13 @@ hr:after {
color: var(--bright-bg);
}
/* Prevent super/sub from affecting line height */
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.25rem;
font-size: unset;
}
sub {
top: 0.25rem;
}