-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidebar navigation is missing outer <ul>
if multipage_nav
is disabled
#250
Comments
The issue is visible in the spec: tech-docs-gem/spec/table_of_contents/helpers_spec.rb Lines 20 to 32 in 8375d93
tech-docs-gem/spec/table_of_contents/helpers_spec.rb Lines 146 to 169 in 8375d93
The We should probably add an example of a non multipage nav to the 'example' docs, although at the minute this is configured at the site level rather than per page. |
This should (hopefully) make it easier to catch issues like #250 when making changes to the navigation code.
This should (hopefully) make it easier to catch issues like #250 when making changes to the navigation code.
There’s no outer
<ul>
whenmultipage_nav
isfalse
– it jumps straight from the<nav>
to the<li>
.This causes rendering issues, as seen in alphagov/gds-way#632.
Before
After
The text was updated successfully, but these errors were encountered: