Skip to content

Commit

Permalink
sponsor image fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Feb 4, 2024
1 parent fb32a9e commit 9fff72a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/sponsors/sponsor-logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export function SponsorLogo({ company: { logoUrl, name, url } }: Props) {
>
<div className='relative p-2'>
<img src={logoUrl} alt={`${name} logo`} />
{/* TODO ??? */}
</div>
</ConditionalWrapper>
);
Expand Down
8 changes: 4 additions & 4 deletions src/components/sponsors/sponsor-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export function SponsorSection({ sectionTitle, companies }: Props) {
{featuredSponsors.map(
(c) =>
c.logoUrl && (
<div className='col-span-2 h-auto max-w-[200px]'>
<SponsorLogo key={c.name} company={c} />
<div key={c.name} className='col-span-2 h-auto max-w-[200px] w-full'>
<SponsorLogo company={c} />
</div>
)
)}
Expand All @@ -45,8 +45,8 @@ export function SponsorSection({ sectionTitle, companies }: Props) {
<h3 className='text-3xl'>További támogatóink</h3>
<div className={styles.containerMany}>
{regularSponsors.map((c) => (
<div className='col-span-2 h-auto max-w-[170px]'>
<SponsorLogo key={c.name} company={c} />
<div key={c.name} className='col-span-2 h-auto max-w-[170px] w-full'>
<SponsorLogo company={c} />
</div>
))}
</div>
Expand Down

0 comments on commit 9fff72a

Please sign in to comment.