dont show 4th card on single column

This commit is contained in:
2023-05-04 06:52:03 +10:00
parent 7b7154085e
commit e6dd75c2a8

View File

@@ -275,6 +275,13 @@ handleLoad();
gap: 30px; gap: 30px;
width: 100%; width: 100%;
max-width: 1200px; max-width: 1200px;
.event-card,
.article-card {
&:nth-child(4) {
display: none;
}
}
} }
} }
@@ -451,6 +458,13 @@ handleLoad();
.events, .events,
.articles { .articles {
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
.event-card,
.article-card {
&:nth-child(4) {
display: block;
}
}
} }
} }
} }