Skip to content

Commit

Permalink
Make photo scan page mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanqui committed Jan 27, 2024
1 parent 8905818 commit bf918d9
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion src/routes/gallery/emil-fafek/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
.thumbnails {
display: flex;
flex-wrap: wrap;
gap: 4px;
gap: 8px 12px;
justify-content: center;
}
.thumbnail {
width: 250px;
Expand All @@ -77,4 +78,31 @@
position: absolute;
right: 0;
}
@media only screen and (max-width: 560px) {
.thumbnail {
width: 200px;
height: 200px;
}
}
@media only screen and (max-width: 470px) {
.thumbnails {
display: flex;
flex-wrap: wrap;
gap: 2px 4px;
}
.thumbnail {
width: 180px;
height: 180px;
}
}
@media only screen and (max-width: 420px) {
.thumbnail {
width: 150px;
height: 150px;
}
}
</style>

0 comments on commit bf918d9

Please sign in to comment.