Skip to content

Commit

Permalink
add left alignment to header variations
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaanbajwa committed May 29, 2024
1 parent cf77291 commit d82a25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/header/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

<div class="nhsuk-navigation-container">
<nav class="nhsuk-navigation" id="header-navigation" role="navigation" aria-label="Primary navigation">
<ul class="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 d82a25d

Please sign in to comment.