Improved album width on narrow screens.
This commit is contained in:
parent
7e52f6d18d
commit
f7f9862489
|
@ -122,15 +122,9 @@ export default {
|
||||||
margin: 0 0 1rem 0;
|
margin: 0 0 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(max-width: $breakpoint) {
|
@media(max-width: $breakpoint-pico) {
|
||||||
.album-items {
|
.album-items {
|
||||||
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media(max-width: $breakpoint-nano) {
|
|
||||||
.album-items {
|
|
||||||
grid-template-columns: repeat(auto-fill, 1fr);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
$breakpoint-pico: 270px;
|
||||||
$breakpoint-nano: 320px;
|
$breakpoint-nano: 320px;
|
||||||
$breakpoint-micro: 540px;
|
$breakpoint-micro: 540px;
|
||||||
$breakpoint-small: 620px;
|
$breakpoint-small: 620px;
|
||||||
|
|
Loading…
Reference in New Issue