Change photo gallery style on mobile devices

This commit is contained in:
Ivan R. 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

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;
}