Skip to content

Commit

Permalink
Fix broken styles of project boxes at Project page
Browse files Browse the repository at this point in the history
  • Loading branch information
Brambora2022 committed Feb 4, 2025
1 parent ccd0746 commit 4b7c8ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/lib/ThinBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,10 @@
width: 100%;
}
}
@media screen and (max-width: 800px) {
.project {
width: 100%;
}
}
</style>
6 changes: 4 additions & 2 deletions src/routes/projects/ProjectBoxes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@
}
}
@media only screen and (max-width: 800px) {
.main-page {
.main-page, .project-page {
flex-wrap: flex;
flex-direction: column;
width: 100%;
gap: 32px;
}
.main-page :global(img) {
.main-page :global(img), .project-page :global(img) {
display: block;
margin: auto;
margin-bottom: 12px;
Expand Down

0 comments on commit 4b7c8ce

Please sign in to comment.