Skip to content

Commit

Permalink
change class name
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaanbajwa committed May 24, 2024
1 parent 2b96254 commit cf77291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@
@include mq($from: desktop) {
display: flex;
justify-content: space-between;
&.nhsuk-header__navigation-list-fewer-links {
&.nhsuk-header__navigation-list--left-aligned {
justify-content: initial;
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/header/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</div>{# close nhsuk-header__container #}
<div class="nhsuk-navigation-container">
<nav class="nhsuk-navigation" id="header-navigation" role="navigation" aria-label="Primary navigation">
<ul class="{{ "nhsuk-header__navigation-list nhsuk-header__navigation-list-fewer-links" if params.primaryLinks.length < 4 else "nhsuk-header__navigation-list" }}">
<ul class="{{ "nhsuk-header__navigation-list nhsuk-header__navigation-list--left-aligned" if params.primaryLinks.length < 4 else "nhsuk-header__navigation-list" }}">
{%- for item in params.primaryLinks %}
<li class="nhsuk-header__navigation-item">
<a class="nhsuk-header__navigation-link" href="{{item.url}}">
Expand Down

0 comments on commit cf77291

Please sign in to comment.