From 69b5b909df945f2d62334e5c31d95cd5299b6707 Mon Sep 17 00:00:00 2001 From: Lee Mills Date: Fri, 30 May 2025 16:00:10 +0100 Subject: [PATCH 1/4] fix: run tests on new branch --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d899b204..b9fce075 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,11 @@ on: push: branches: - '1.x' + - '2.x' pull_request: branches: - '1.x' + - '2.x' workflow_dispatch: jobs: From 0af6f464866632ba5869a9f91e0fa344b4c0ee2f Mon Sep 17 00:00:00 2001 From: Lee <8024370+millnut@users.noreply.github.com> Date: Tue, 10 Jun 2025 12:08:47 +0100 Subject: [PATCH 2/4] fix: missing prev-next attributes for nav (#797) * fix: missing prev-next attributes for nav * empty commit to trigger workflow --------- Co-authored-by: Finn Lewis --- components/prev-next/prev-next.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/prev-next/prev-next.twig b/components/prev-next/prev-next.twig index e8c3cdd8..c4488ffb 100644 --- a/components/prev-next/prev-next.twig +++ b/components/prev-next/prev-next.twig @@ -7,7 +7,7 @@ */ #} -{% set prevNextAttributes = prevNextAttributes|default(create_attribute) %} +{% set prevNextAttributes = create_attribute(prevNextAttributes|default({})) %} {% set icon_path = icon_path|default('@localgov_base/includes/icons') %} {% set prev_icon = prev_icon|default('chevron-left') %} From 8bab8a8cc1fdd042f7202cc90faf822adcbe6203 Mon Sep 17 00:00:00 2001 From: Christopher Torgalson Date: Mon, 16 Jun 2025 13:09:42 -0400 Subject: [PATCH 3/4] fix: switches secondary nav max-height from 'auto' to 'none' at desktop sizes "auto" is not a possible value, so it fails to unset the max-height value set for mobile/tablet sizes, sometimes obscuring menu items. --- css/components/secondary-menu.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/components/secondary-menu.css b/css/components/secondary-menu.css index b9f8e3ae..f9e32df3 100644 --- a/css/components/secondary-menu.css +++ b/css/components/secondary-menu.css @@ -29,7 +29,7 @@ .region-secondary-menu .menu { overflow-y: initial; - max-height: auto; + max-height: none; column-count: var(--secondary-menu-column-count); } } From c2fcc39042c589f7b12ccc50117f2c0e5bd58f0e Mon Sep 17 00:00:00 2001 From: Mark Conroy Date: Tue, 17 Jun 2025 12:16:13 +0100 Subject: [PATCH 4/4] Add default background colour for callouts (#803) --- css/components/callout.css | 1 + 1 file changed, 1 insertion(+) diff --git a/css/components/callout.css b/css/components/callout.css index 53eba0c0..7c87008f 100644 --- a/css/components/callout.css +++ b/css/components/callout.css @@ -5,6 +5,7 @@ padding: 1.5rem; text-align: center; color: var(--color-white); + background-color: var(--color-accent); font-size: var(--font-size-large); font-weight: bold; }