Skip to content

Commit

Permalink
feat: change logo salad styling to be more compact (#1091)
Browse files Browse the repository at this point in the history
* feat: change logo salad styling to be more compact

* feat: max-width on logo salad

* style: run prettier fix
  • Loading branch information
TrymVei authored Jan 3, 2025
1 parent 6747828 commit 0bfc27e
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions src/components/sections/logoSalad/logoSalad.module.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
.shared {
display: flex;
flex-direction: column;
align-items: center;
}

.wrapper {
composes: shared;
padding: 5rem 0;
max-width: var(--max-content-width-large);
margin: 0 auto;
background-color: var(--background-bg-light-primary);
}

Expand All @@ -17,23 +12,34 @@
.logoWrapper {
padding: 0;
margin: 0;
list-style: none;
align-content: flex-start;
max-width: var(--max-content-width-large);
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: 1.5rem 3rem;
justify-content: center;

& > li {
max-width: 15rem;
max-height: 5rem;
overflow: hidden;
object-fit: contain;
display: inline-block;
margin-right: 3rem;
list-style: none;

& img {
height: 4.5rem;
width: auto;

@media (max-width: 834px) {
height: 3.625rem;
}

@media (max-width: 425px) {
height: 3rem;
}
}
}

@media (max-width: 834px) {
gap: 1rem 2.25rem;
}

@media (max-width: 425px) {
text-wrap: balance;
& > li {
margin-right: 1rem;
}
gap: 0.5rem 1.5rem;
}
}

0 comments on commit 0bfc27e

Please sign in to comment.