Skip to content

Commit 4b7c8ce

Browse files
committed
Fix broken styles of project boxes at Project page
1 parent ccd0746 commit 4b7c8ce

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/lib/ThinBox.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,10 @@
5050
width: 100%;
5151
}
5252
}
53+
54+
@media screen and (max-width: 800px) {
55+
.project {
56+
width: 100%;
57+
}
58+
}
5359
</style>

src/routes/projects/ProjectBoxes.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@
7777
}
7878
}
7979
@media only screen and (max-width: 800px) {
80-
.main-page {
80+
.main-page, .project-page {
81+
flex-wrap: flex;
8182
flex-direction: column;
83+
width: 100%;
8284
gap: 32px;
8385
}
84-
.main-page :global(img) {
86+
.main-page :global(img), .project-page :global(img) {
8587
display: block;
8688
margin: auto;
8789
margin-bottom: 12px;

0 commit comments

Comments
 (0)