Skip to content

Commit

Permalink
Style org logos with inline-block only
Browse files Browse the repository at this point in the history
This prevents an issue where organisation names were wrapping too early
  • Loading branch information
AshGDS committed Aug 27, 2024
1 parent 4d85538 commit 8533392
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions app/assets/stylesheets/helpers/_organisation-logos.scss
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 8533392

Please sign in to comment.