Change photo gallery style on mobile devices

pull/16/head
Ivan Reshetnikov 2023-11-11 20:47:45 +05:00
parent 0dad20e3e9
commit a4e952773b
No known key found for this signature in database
GPG Key ID: 56C7BAAE859B302C
1 changed files with 11 additions and 0 deletions

View File

@ -90,6 +90,17 @@ import NoteMetadata from '../../components/NoteMetadata.astro'
gap: 10px;
}
@media screen and (max-width: 800px) {
.firstPhotoGroup {
grid-template-rows: 450px 450px 450px;
grid-template-columns: 1fr;
grid-template-areas:
"first"
"second"
"third";
}
}
.firstPhotoGroup > div {
position: relative;
}