Merge pull request #2526 from hanspinckaers/patch-1

Fix line-height when sub/sup is present
This commit is contained in:
Jackson Harper 2023-07-24 11:59:35 +08:00 committed by GitHub
commit bbb1b1f038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,6 +262,10 @@ on smaller screens we display the note icon
.article-inner-css sup,
.article-inner-css sub {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
a {
color: inherit;
pointer-events: none;
@ -269,7 +273,7 @@ on smaller screens we display the note icon
}
.article-inner-css sup {
top: -0.3em;
top: -0.75em;
}
.article-inner-css sub {