-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unclickable menu etc when there is no TOC
We don't need the 'sticky TOC offset' when there is no TOC. This removes that when there is no sidebar and therefore no TOC. This fixes that the Menu isn't clickable on mobile when the TOC is not there. It also fixes links above headings not being clickable, [alphagov/tech-docs-template#123], but only in the case when there is no sidebar.
- Loading branch information
1 parent
17031bd
commit 08b3bcc
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters