From 13374908c2d99b86699d6807a86fea489dddcb75 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Thu, 10 Sep 2026 12:08:30 +0100 Subject: [PATCH] Fix implementation record header - was appearing incorrectly styled with light blue text on a dark blue background - fixed by updating the markup - ideally would use the layout component for this rather than hard coding the markup, but we can't render components directly in the tech docs so have to use `GovukPublishingComponents.render`, which doesn't seem to support yielding to blocks, which is what the layout component depends on - as an improvement have also added the service navigation component - unfortunately couldn't call the component here directly either because there's a mystery CSS rule which causes the content to be full width, which misaligns it with the rest of the page which acted on `govuk-width-container` being the immediate child of the component, fix was to insert an extra div to break this layout, so the normal styles can function correctly --- source/layouts/analytics_layout.html.erb | 79 ++++++++++++++++-------- 1 file changed, 52 insertions(+), 27 deletions(-) diff --git a/source/layouts/analytics_layout.html.erb b/source/layouts/analytics_layout.html.erb index 8f22b348719..0a4e345f71f 100644 --- a/source/layouts/analytics_layout.html.erb +++ b/source/layouts/analytics_layout.html.erb @@ -20,54 +20,79 @@ - + - Skip to main content + Skip to main content -