diff --git a/app/assets/stylesheets/helpers/_organisation-logos.scss b/app/assets/stylesheets/helpers/_organisation-logos.scss index 1e8fcf956..4bcbd92ed 100644 --- a/app/assets/stylesheets/helpers/_organisation-logos.scss +++ b/app/assets/stylesheets/helpers/_organisation-logos.scss @@ -9,11 +9,7 @@ .organisation-logos__logo { padding-bottom: govuk-spacing(3); + margin-right: govuk-spacing(3); flex-basis: 25%; min-width: 130px; } - -.organisation-logo__inner { - max-width: 215px; - padding-right: govuk-spacing(3); -} diff --git a/app/views/content_items/html_publication.html.erb b/app/views/content_items/html_publication.html.erb index b6cbcf076..6da410c8b 100644 --- a/app/views/content_items/html_publication.html.erb +++ b/app/views/content_items/html_publication.html.erb @@ -10,17 +10,15 @@ <% if @content_item.organisations %>
-
    +
+
<% end %> diff --git a/test/integration/html_publication_test.rb b/test/integration/html_publication_test.rb index 28f335229..e5eeb3131 100644 --- a/test/integration/html_publication_test.rb +++ b/test/integration/html_publication_test.rb @@ -69,7 +69,7 @@ class HtmlPublicationTest < ActionDispatch::IntegrationTest end def assert_has_component_organisation_logo_with_brand(brand, index = 1) - within("li.organisation-logos__logo:nth-of-type(#{index})") do + within(".organisation-logos__logo:nth-of-type(#{index})") do assert page.has_css?(".gem-c-organisation-logo.brand--#{brand}") end end