From c81a2f2b3b0d56e3eeb19f93cdfc2c5e5d094407 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Fri, 20 Dec 2024 10:35:37 +0000 Subject: [PATCH] Remove redundant CSS and add config for organisation logo --- app/assets/stylesheets/views/_landing_page.scss | 8 -------- .../_prime-ministers-office-10-downing-street.html.erb | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/assets/stylesheets/views/_landing_page.scss b/app/assets/stylesheets/views/_landing_page.scss index 3cf8e339af..388b8f1731 100644 --- a/app/assets/stylesheets/views/_landing_page.scss +++ b/app/assets/stylesheets/views/_landing_page.scss @@ -11,14 +11,6 @@ .landing-page-header__org { padding-top: govuk-spacing(2); padding-bottom: govuk-spacing(6); - - // I've added this styling here rather than in the gem because it's application specific - // and it would introduce further work to make this variation work in the gem without - // affecting the other variants. - // TODO add this as a variant in the components gem. - .gem-c-organisation-logo__link:link:not(:hover) { - text-decoration: none; - } } .govuk-block { diff --git a/app/views/landing_page/themes/_prime-ministers-office-10-downing-street.html.erb b/app/views/landing_page/themes/_prime-ministers-office-10-downing-street.html.erb index 7f805787c7..6b27a5cfd3 100644 --- a/app/views/landing_page/themes/_prime-ministers-office-10-downing-street.html.erb +++ b/app/views/landing_page/themes/_prime-ministers-office-10-downing-street.html.erb @@ -25,6 +25,7 @@ }, inverse: true, inline: true, + hide_underline: true, data_attributes: { module: "ga4-link-tracker", ga4_track_links_only: "",