ministryofjustice / mkdocs-tech-docs-template

Build flexible technical documentation with a GOV.UK style using MkDocs
https://ministryofjustice.github.io/mkdocs-tech-docs-template/
8 stars 4 forks source link

Ensure longer headers in table of contents spill more gracefully #47

Closed SoumayaMauthoorMOJ closed 1 year ago

SoumayaMauthoorMOJ commented 1 year ago

https://github.com/ministryofjustice/mkdocs-tech-docs-template/pull/45 and #48 means that longer subheadings don't carry over nicely: image

A temporary work-around is to use short titles. A better solution would be to make the titles spill over the next line? Or perhaps this is a good way of forcing people to use more succinct titles?