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

flow grid appearance

This commit is contained in:
Fedor Katurov 2019-10-23 12:33:57 +07:00
parent 2f73e9ad29
commit a6385cf4cf
2 changed files with 7 additions and 5 deletions

View file

@ -16,21 +16,25 @@ $cols: $content_width / $cell;
@media (max-width: $cell * 5) {
grid-template-columns: repeat(4, 1fr);
grid-template-rows: 25vw $cell;
grid-auto-rows: 25vw;
}
@media (max-width: $cell * 4) {
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 40vh 33vw;
grid-auto-rows: 33vw;
}
@media (max-width: $cell * 3) {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 40vh 50vw;
grid-auto-rows: 50vw;
}
@media (max-width: $cell * 2) {
grid-template-columns: repeat(1, 1fr);
grid-template-rows: 40vh 75vw;
grid-auto-rows: 75vw;
grid-column-gap: $gap;
grid-row-gap: $gap;

View file

@ -54,11 +54,9 @@ export const EMPTY_NODE: INode = {
blocks: [],
tags: [],
options: {
flow: {
display: 'single',
show_description: false,
},
flow: {
display: 'single',
show_description: false,
},
};