-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the new 'Contribute' page from #148 to the main nav. Also adds a temporary CSS modifier to stop the nav from being justified now that there's 4 items (which looks odd). ## Screenshots ### Before <img width="988" alt="Before - with no Contribute item" src="https://github.com/user-attachments/assets/f5fbb3fc-3882-4736-a7e6-0c068b85745c"> ### After <img width="987" alt="Before - with Contribute item" src="https://github.com/user-attachments/assets/c85cfc0c-7f9f-42e6-8a2e-e490797590eb">
- Loading branch information
1 parent
6262aae
commit 9e79c52
Showing
3 changed files
with
11 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// This modifier overrides the default behaviour which is to | ||
// justify the items in the nav when there are 4 or more. | ||
.app-header--left-aligned .nhsuk-header__navigation-list { | ||
justify-content: initial; | ||
} |
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