From 21dccc5375bd7c55ca98f51915bd2b6a1502f4d8 Mon Sep 17 00:00:00 2001 From: AshGDS <8880610+AshGDS@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:56:34 +0100 Subject: [PATCH] Fix custom logos taking up full width --- app/assets/stylesheets/helpers/_organisation-logos.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/assets/stylesheets/helpers/_organisation-logos.scss b/app/assets/stylesheets/helpers/_organisation-logos.scss index 8e1858966..ec42ffc19 100644 --- a/app/assets/stylesheets/helpers/_organisation-logos.scss +++ b/app/assets/stylesheets/helpers/_organisation-logos.scss @@ -9,4 +9,13 @@ vertical-align: top; padding-bottom: govuk-spacing(3); margin-right: govuk-spacing(6); + + & img { + @include govuk-media-query($until: desktop) { + width: 140px; + } + @include govuk-media-query($from: desktop) { + max-width: 240px; + } + } }