Closed alexmitelman closed 3 years ago
I've faced an issue when Table of contents looks awkward on larger screens if a list of item is long enough. Basically, ToC is only shown partly halfway through the page with a scroll. I figured that having relative max-height does the trick. I've implemented it on my page. See example here: https://mitelman.engineering/blog/python-best-practice/automating-python-best-practices-for-a-new-project/
max-height
Thanks for your contribution! 😉
I've faced an issue when Table of contents looks awkward on larger screens if a list of item is long enough. Basically, ToC is only shown partly halfway through the page with a scroll. I figured that having relative
max-height
does the trick. I've implemented it on my page. See example here: https://mitelman.engineering/blog/python-best-practice/automating-python-best-practices-for-a-new-project/