Update Markdown preview styles to prevent sub and sup from affecting line height (#178653)

Prevent `sub` and `sup` from affecting line height
This commit is contained in:
Teddy Bradford 2023-03-30 14:07:18 -04:00 committed by GitHub
parent b1ad3f934c
commit b244524d08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,11 @@ body.showEditorSelection li.code-line:hover:before {
border-left: 3px solid rgba(255, 160, 0, 1);
}
/* Prevent `sub` and `sup` elements from affecting line height */
sub,
sup {
line-height: 0;
}
ul ul,
ul ol,