add media queries to album page

This commit is contained in:
geoffrey45
2022-01-22 05:03:18 +03:00
parent 221a37e226
commit 188b0541c6
4 changed files with 36 additions and 12 deletions
+18
View File
@@ -19,6 +19,15 @@ export default {
padding: $small;
display: grid;
grid-template-columns: 1fr 1fr;
@include tablet-portrait {
grid-template-columns: 1fr;
}
@include tablet-landscape {
grid-template-columns: 1fr auto;
}
gap: $small;
min-height: 15rem;
@@ -31,6 +40,15 @@ export default {
background-image: url("../../assets/images/eggs.jpg");
background-position: center;
@include tablet-portrait {
display: none;
}
@include tablet-landscape {
width: 10rem;
}
.rect {
width: 10rem;
height: 10rem;