mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed hero card height on mobiles
This commit is contained in:
parent
dd57fe7ac2
commit
f1b15716dc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue