From 653856f808b38e4469940184288e78d873a896e2 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 25 Jul 2024 15:21:23 +0100 Subject: [PATCH] Hide the `global-bar` when printing --- app/views/components/_global_bar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/components/_global_bar.html.erb b/app/views/components/_global_bar.html.erb index 5ffb4093d..6826980ac 100644 --- a/app/views/components/_global_bar.html.erb +++ b/app/views/components/_global_bar.html.erb @@ -18,7 +18,7 @@ # Regardless of value, banner is always manually dismissable by users always_visible = true - global_bar_classes = %w(global-bar dont-print) + global_bar_classes = %w(global-bar govuk-!-display-none-print) title_classes = %w(global-bar-title) title_classes << "js-call-to-action" if title_href