From 85333923056ab9adf4ce23caae7d5e1d5501bbb1 Mon Sep 17 00:00:00 2001 From: AshGDS <8880610+AshGDS@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:16:01 +0100 Subject: [PATCH] Style org logos with inline-block only This prevents an issue where organisation names were wrapping too early --- .../stylesheets/helpers/_organisation-logos.scss | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/helpers/_organisation-logos.scss b/app/assets/stylesheets/helpers/_organisation-logos.scss index 56c889512..8e1858966 100644 --- a/app/assets/stylesheets/helpers/_organisation-logos.scss +++ b/app/assets/stylesheets/helpers/_organisation-logos.scss @@ -1,16 +1,12 @@ .organisation-logos { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: flex-start; list-style-type: none; margin-top: govuk-spacing(2); padding: 0; } .organisation-logos__logo { + display: inline-block; + vertical-align: top; padding-bottom: govuk-spacing(3); - margin-right: govuk-spacing(3); - flex-basis: 25%; - min-width: 130px; + margin-right: govuk-spacing(6); }