Skip to content

Commit

Permalink
fix(pdf): Fix li line height issue with superscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara committed Sep 18, 2024
1 parent 29be9c8 commit e360c9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xml2rfc/writers/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ def flatten_unicode_spans(self, html):
tt, code, pre {{
font-family: {mono-fonts};
}}
li sup {{
line-height: 0;
}}
@page {{
size: A4;
font-size: 12px; /* needed for the page header and footer text */
Expand Down

0 comments on commit e360c9b

Please sign in to comment.