Skip to content
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

Fix overlapping sidenotes #573

Merged
merged 4 commits into from
Nov 9, 2023
Merged

Fix overlapping sidenotes #573

merged 4 commits into from
Nov 9, 2023

Conversation

philippamarkovics
Copy link
Member

Closes #564.

Sidenotes that are longer than the content they are anchored to will now push their subsequent content down instead of overlapping with it.

Note: This uses display: flex now instead of positioning the sidenotes absolutely, thus preventing margin collapse with subsequent nodes that don’t have sidenotes. The layout adjusts for this now.

@mk mk merged commit 8b804e7 into main Nov 9, 2023
7 checks passed
@mk mk deleted the fix-overlapping-sidenotes branch November 9, 2023 15:14
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.

Long footnotes can overlap code listings
2 participants