1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed mobile cell sizes

This commit is contained in:
Fedor Katurov 2021-06-25 14:23:45 +07:00
parent 45949d49a8
commit 6f9c380dcd

View file

@ -59,8 +59,13 @@ $cols: $content_width / $cell;
@media (max-width: $cell_mobile) { @media (max-width: $cell_mobile) {
// rework stamp, so it will be shown as smaller one on mobiles // rework stamp, so it will be shown as smaller one on mobiles
grid-template-columns: repeat(auto-fill, minmax($fluid_cell*0.75, 1fr)); grid-template-columns: repeat(auto-fill, minmax(45vw, 1fr));
grid-template-rows: calc(100vw - 10px) auto $fluid_cell; grid-template-rows: calc(100vw - 10px) auto 50vw;
}
@media (max-width: ($fluid_cell + 5) * 1.5 + 20) {
grid-template-columns: repeat(auto-fill, minmax(45vw, 1fr));
grid-template-rows: calc(100vw - 10px) auto 50vw;
} }
} }