From 2b962543ca66b63da8ef0745143b1f532f6825d4 Mon Sep 17 00:00:00 2001 From: roshaanbajwa Date: Fri, 24 May 2024 16:18:20 +0100 Subject: [PATCH 1/5] add conditional extra css for fewer nav links --- packages/components/header/_header.scss | 3 +++ packages/components/header/template.njk | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/components/header/_header.scss b/packages/components/header/_header.scss index 1f4fe36af..98d0f3581 100644 --- a/packages/components/header/_header.scss +++ b/packages/components/header/_header.scss @@ -468,6 +468,9 @@ @include mq($from: desktop) { display: flex; justify-content: space-between; + &.nhsuk-header__navigation-list-fewer-links { + justify-content: initial; + } } .js-enabled & { diff --git a/packages/components/header/template.njk b/packages/components/header/template.njk index 0e5ae9a20..7de36deab 100644 --- a/packages/components/header/template.njk +++ b/packages/components/header/template.njk @@ -78,7 +78,7 @@ {# close nhsuk-header__container #}
{# close nhsuk-header__container #}