Skip to content

Commit

Permalink
fix: add CSS to style footnotes correctly
Browse files Browse the repository at this point in the history
As noted in pypa/readme_renderer#264

With these changes, the footnotes are styled in a more visually-pleasing
manner.

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
  • Loading branch information
miketheman committed Dec 16, 2022
1 parent 6c33e73 commit dc19ff4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions warehouse/static/sass/blocks/_project-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@
text-decoration: none;
}

aside.footnote p {
display: inline;
}

aside.footnote {
padding-left: 2em;
text-indent: -2em;
}
}


Expand Down

0 comments on commit dc19ff4

Please sign in to comment.