Skip to content

Commit

Permalink
fix: projects margin
Browse files Browse the repository at this point in the history
Fixes #43
  • Loading branch information
not-matthias committed Dec 7, 2023
1 parent 4088ea2 commit f4407dc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion sass/parts/_cards.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
grid-template-rows: auto;
gap: 24px;
padding: 12px 0;
}

@media all and (min-width: 640px) {
.cards {
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}
}

@media all and (max-width: 640px) {
.cards {
grid-template-columns: repeat(auto-fill, 1fr);
}
}

.card {
min-height: 100px;
background: var(--bg-2);
Expand Down

0 comments on commit f4407dc

Please sign in to comment.