From 588affd998e2ade123f179062b1f4477886e4aae Mon Sep 17 00:00:00 2001 From: James Chan Date: Tue, 19 Nov 2024 21:46:47 +0000 Subject: [PATCH] Remove blue border top; pass margin_top_until_tablet option Removes the blue top border from the chat promo and passing margin_top_until_tablet ultimately increases the margin top to 35px as per the designs --- app/views/shared/_sidebar_navigation.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_sidebar_navigation.html.erb b/app/views/shared/_sidebar_navigation.html.erb index 797a6d943..ac4885fff 100644 --- a/app/views/shared/_sidebar_navigation.html.erb +++ b/app/views/shared/_sidebar_navigation.html.erb @@ -2,7 +2,7 @@
<% if show_govuk_chat_promo?(@content_item.base_path) %> - <%= render "govuk_publishing_components/components/chat_entry", { border_top: true } %> + <%= render "govuk_publishing_components/components/chat_entry", { margin_top_until_tablet: true } %> <% end %> <%= render 'govuk_publishing_components/components/contextual_sidebar', content_item: content_item %>