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:
parent
45949d49a8
commit
6f9c380dcd
1 changed files with 7 additions and 2 deletions
|
@ -59,8 +59,13 @@ $cols: $content_width / $cell;
|
|||
|
||||
@media (max-width: $cell_mobile) {
|
||||
// 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-rows: calc(100vw - 10px) auto $fluid_cell;
|
||||
grid-template-columns: repeat(auto-fill, minmax(45vw, 1fr));
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue