Merge pull request #13 from mntn-xyz/patch-9
Prevent super/subscript from affecting line height
This commit is contained in:
commit
b3cf3d58a5
|
@ -153,3 +153,13 @@ hr:after {
|
||||||
color: var(--bright-bg);
|
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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue