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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMDU0OTEsIm5iZiI6MTcyMTIwNTE5MSwicGF0aCI6Ii84MzM2NDIvMzM1NjcwNTg1LTMxNjg2OTNjLTY0ZmQtNGU3Yy1iMDkwLWNiZDgyOWE4NjAxNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxN1QwODMzMTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZjI4YzZhNzkxZGI1OTIzNjFhYTViNWM5ZTg1OThjNTk5Mjc3ZmE4MTk1M2I3YWU5MTQyYTc3NjExZTQwMjMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.27nZEMDZUz7AsAcLeo0pfTyeyHkyxoGg8k4NLnl6t88)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMDU0OTEsIm5iZiI6MTcyMTIwNTE5MSwicGF0aCI6Ii84MzM2NDIvMzM1NjcwNTY0LWQ1NGU4NWJlLTU3NDEtNGNjOS05ZmMyLTAyY2I3OTQyNmYwOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxN1QwODMzMTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMWVkNjQxNGRlZmJhNGE2YTAxYzQ5ZmNhYWI2ZWVjZjA4MGQ3YmIzODI4ZGFjMTU3Y2Q3MDY2YmUzNzE0MzMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.NsUH6w0wkYk3JefKtfnVM0ilJgSlHs1kYK1e1tvuHsE)
This can quickly be explored by adding a Python cell with:
Close #1651