Skip to content

Commit

Permalink
fix: whitespace in homepage cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolijn committed Aug 23, 2024
1 parent f5e0448 commit d896837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
5 changes: 1 addition & 4 deletions src/components/CardGroup.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
--card-illustration-margin-inline-start: 16px;
}

.cardgroup__card--medium {
--cardgroup-card-min-height: 286px;
}

.cardgroup__card--large {
--cardgroup-card-flex-direction: row-reverse;
--cardgroup-card-justify-content: space-between;
Expand Down Expand Up @@ -83,6 +79,7 @@

.card__content {
--utrecht-heading-2-margin-block-start: 0;
--utrecht-heading-3-margin-block-start: 0;
display: flex;
flex-direction: column;
height: 100%;
Expand Down
26 changes: 1 addition & 25 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,7 @@ export default function Home() {
<div className="container" style={{ paddingBlockEnd: '40px' }}>
<Heading2>Meedoen als...</Heading2>
<CardGroup appearance="medium">
<Card component="section" appearance="small">
{/* <CardIllustration background>
<Image
src="..."
alt="..."
/>
</CardIllustration> */}
<Card component="section" appearance="medium">
<CardContent>
<div>
<Heading3>Manager</Heading3>
Expand All @@ -69,12 +63,6 @@ export default function Home() {
</CardContent>
</Card>
<Card component="section" appearance="medium">
{/* <CardIllustration background>
<Image
src="..."
alt="..."
/>
</CardIllustration> */}
<CardContent>
<div>
<Heading3>Leverancier</Heading3>
Expand All @@ -87,12 +75,6 @@ export default function Home() {
</CardContent>
</Card>
<Card component="section" appearance="medium">
{/* <CardIllustration background>
<Image
src="..."
alt="..."
/>
</CardIllustration> */}
<CardContent>
<div>
<Heading3>Developer</Heading3>
Expand All @@ -105,12 +87,6 @@ export default function Home() {
</CardContent>
</Card>
<Card component="section" appearance="medium">
{/* <CardIllustration background>
<Image
src="..."
alt="..."
/>
</CardIllustration> */}
<CardContent>
<div>
<Heading3>Designer</Heading3>
Expand Down

0 comments on commit d896837

Please sign in to comment.