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

fixed hero card height on mobiles

This commit is contained in:
Fedor Katurov 2021-06-25 14:35:57 +07:00
parent dd57fe7ac2
commit f1b15716dc

View file

@ -60,13 +60,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(calc(50vw - 20px), 1fr)); grid-template-columns: repeat(auto-fill, minmax(calc(50vw - 20px), 1fr));
grid-template-rows: calc(100vw - 10px) auto 50vw; grid-template-rows: calc(80vw - 10px) auto 50vw;
grid-auto-rows: 50vw; grid-auto-rows: 50vw;
} }
@media (max-width: ($fluid_cell + 5) * 1.5 + 20) { @media (max-width: ($fluid_cell + 5) * 1.5 + 20) {
grid-template-columns: repeat(auto-fill, minmax(calc(50vw - 20px), 1fr)); grid-template-columns: repeat(auto-fill, minmax(calc(50vw - 20px), 1fr));
grid-template-rows: calc(100vw - 10px) auto 50vw; grid-template-rows: calc(80vw - 10px) auto 50vw;
grid-auto-rows: 50vw; grid-auto-rows: 50vw;
} }
} }