Page is rendered as if TOC is disabled when no header is set (including h1) #3802
Closed
5 tasks done
Labels
change request
Issue requests a new feature or improvement
resolved
Issue is resolved, yet unreleased if open
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
When you create a page without any headers - including no H1 header - will Material for MkDocs automatically use the full width of the body, as if the TOC has been disabled, even if this isn't the case.
Example without a header (auto-generated H1):
Source:
Example with a H1 header:
Source:
Expected behaviour
Material for MkDocs should use the same width for all pages, unless I explicitly disable/hide the TOC and/or Nav.
Actual behaviour
Whenever a page without Headers is rendered will the full width be used, which results in inconsistent displays of pages (Some having fixed width without a TOC rendered while others don't)
Steps to reproduce
mkdocs serve
render the resultPackage versions
3.7.6
1.3.0
8.2.8
Configuration
System information
The text was updated successfully, but these errors were encountered: