Skip to content

Commit

Permalink
Merge pull request #1942 from tomudding/fix/sizing-of-company-logos-i…
Browse files Browse the repository at this point in the history
…n-company-cards

fix: sizing of company logos in cards
  • Loading branch information
tomudding authored Dec 12, 2024
2 parents e973614 + da5fa56 commit b422521
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
18 changes: 9 additions & 9 deletions public/css/gewis-theme.css

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions resources/scss/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,21 @@
.card-img,
.card-image {
aspect-ratio: unset;
max-height: 10rem;
padding: 1.5rem;
}

> .card-img,
> .card-image {
margin: 0 auto;
width: fit-content;
}

> a:first-child:not(.stretched-link) {
display: flex;
justify-content: center;
align-content: center;
}
}

&.company-card {
Expand Down

0 comments on commit b422521

Please sign in to comment.