Fix Table of Contents (2) not showing top part of table #1662
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a top margin of 10em to ensure the table of contents initial section is visible and not cutoff/inaccessible.
Before:
![Screenshot showing the inaccessible portion of the table of contents generate by ToC (2)](https://private-user-images.githubusercontent.com/833642/335670585-3168693c-64fd-4e7c-b090-cbd829a86017.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMTE5NjAsIm5iZiI6MTcyMTIxMTY2MCwicGF0aCI6Ii84MzM2NDIvMzM1NjcwNTg1LTMxNjg2OTNjLTY0ZmQtNGU3Yy1iMDkwLWNiZDgyOWE4NjAxNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxN1QxMDIxMDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMWFjNmNlYTAyMDU0ODc3NjBjMzdhNDU4YWU1ZDE0Nzc1M2M2NDU4YmQyNTNkZjg1YTllOTcxNzI3MDZhNjBlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.H_9hTct32e39po24_XU3-7wPy17qrvy6_d-T4-0h2wk)
After:
![Screenshot showing the top portion of the ToC (2) with the committed change now being accessible](https://private-user-images.githubusercontent.com/833642/335670564-d54e85be-5741-4cc9-9fc2-02cb79426f08.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMTE5NjAsIm5iZiI6MTcyMTIxMTY2MCwicGF0aCI6Ii84MzM2NDIvMzM1NjcwNTY0LWQ1NGU4NWJlLTU3NDEtNGNjOS05ZmMyLTAyY2I3OTQyNmYwOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxN1QxMDIxMDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYjc2Y2U3MGZiZDU4ZTNjY2NhMjFkOGQ0YjgwMDIwN2FkMTE5MTVhMWNjOTMxNzhjYTcwZDI1MTUzYTc1YjJkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.40OzSERsLoddKv3VZjOGLrBdmEDiVv9v9LIESMdQFKg)
This can quickly be explored by adding a Python cell with:
Close #1651