Skip to content

Fix footnote mark line height #1644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Conversation

rich-iannone
Copy link
Member

Footnote marks as superscripted characters (the default typesetting) had the property of making the line height change, throwing off the vertical alignment of baselines in adjacent cells. This PR solves that by setting the "line-height" property (of the 'span' surrounding the 'sup' tag) to a value of 0 in the superscript styling within gt:::footnote_mark_to_html().

Fixes: #1556

@rich-iannone rich-iannone merged commit 404e39f into master Apr 28, 2024
12 checks passed
@rich-iannone rich-iannone deleted the fix-footnote-mark-line-height branch April 28, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Number placement with superscript
1 participant