Skip to content

Commit 0e0ad67

Browse files
committed
Fix broken tiles on smaller views
1 parent 19e6561 commit 0e0ad67

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/pages/index.astro

+2-3
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,12 @@ const socials = [
245245

246246
@media only screen and (max-width: 768px) {
247247
.grid-container {
248-
grid-template-columns: 1fr;
249-
grid-template-rows: auto;
248+
display: block;
250249
}
251250

252251
.large-tile,
253252
.small-tile {
254-
grid-column: 1;
253+
grid-column: auto;
255254
grid-row: auto;
256255
height: auto;
257256
}

0 commit comments

Comments
 (0)