Skip to content

Commit

Permalink
Better support the true use cases for sup and sub
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-hebler committed Jun 29, 2020
1 parent 5e2b23f commit a25b34c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions assets/scss/6-components/story-body/_story-body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ $story-narrow-bp: ($story-narrow / 1rem) + $story-padding-buffer;
margin-top: $size-b;
}

sub, sup {
position: initial;
}

hr {
margin: $size-xl auto;
}
Expand Down
2 changes: 2 additions & 0 deletions assets/scss/6-components/story-body/story-body.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<h2>Article text formatting preview</h2>
<p>Our editor outputs blocks of texts with paragraph tags. This parent class also accounts for descendant links, headings, horizontal rules, and lists.</p>

<p>This is a paragraph with some <a href="#">link text</a>. This is how <strong>bolded</strong>, <em>emphasized</em>, <sup>superscript</sup> and <sub>subscript</sub> text displays.</p>

<h2>Lists</h2>
<p>Ordered</p>
<ol>
Expand Down

0 comments on commit a25b34c

Please sign in to comment.