Merge pull request #155 from djpeacher/sup-sub-fix

Preventing sup/sub from affecting line-height
This commit is contained in:
Kev Quirk
2023-06-22 08:12:43 +01:00
committed by GitHub
+12
View File
@@ -649,6 +649,18 @@ dialog::backdrop {
}
}
/* Superscript & Subscript */
/* Prevent scripts from affecting line-height. */
sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub {
top: 0.3em;
}
/* Classes for notices */
.notice {
background: var(--accent-bg);