Skip to content

Commit

Permalink
Remove unused, or possibly deleterious, resets on sup, sub elements
Browse files Browse the repository at this point in the history
These rules were added 10 years ago. We don't have any `sup` or `sub`
elements in our source, and they could have possibly deleterious effects
when user content is styled.

Part of hypothesis/frontend-shared#208
  • Loading branch information
lyzadanger committed Nov 1, 2021
1 parent 686d250 commit 045fb11
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/styles/reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,6 @@ body {
margin: 0;
}

sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
}

sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}

pre {
white-space: pre;
white-space: pre-wrap;
Expand Down

0 comments on commit 045fb11

Please sign in to comment.