Closed colinbm closed 3 years ago
I don't think b35334d93bebdd65f34d8d5b3e3d6fca46cdc445 belongs in this PR, but otherwise this seems to make sense to me.
@36degrees It's more adjacent... would you prefer it be in a separate PR? Or I can edit the title to include it explicitly?
I think it's more or less the same commit as https://github.com/alphagov/tech-docs-gem/pull/238/commits/f46aee7312d58e606cf81ac96018a1774fa73166 in #238? At the minute it'll conflict with that PR because it's changing the same lines of code but in slightly different ways.
Ah so it is - thanks for clarifying - will remove it here.
⚠️ Don't forget to update the gem version in the CHANGELOG before merging! When you're ready to release bump version file and generate a tag. ⚠️
What
Updates the navigation to use a single top level
ul
and nested subnav.Why
This is a follow up to https://github.com/alphagov/tech-docs-gem/pull/237 with a better solution.
The previous markup was like this:
This separates each top level nav item into a separate list, where the nav should be a single component.
New markup is: