Merge pull request #13 from mntn-xyz/patch-9
Prevent super/subscript from affecting line height
This commit is contained in:
commit
b3cf3d58a5
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue