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

fixed grid

This commit is contained in:
muerwre 2019-07-26 14:23:19 +07:00
parent e315b33284
commit 0e8d42095d
3 changed files with 27 additions and 14 deletions

View file

@ -1,23 +0,0 @@
$cols: $content_width / $cell;
.grid {
//display: grid;
padding: $gap / 2;
margin: 0 (-$gap / 2);
}
.grid_test {
width: $content_width;
display: grid;
grid-template-columns: repeat($cols, 1fr);
grid-template-rows: $cell * 1.2 - 4;
grid-auto-rows: 256px;
grid-auto-flow: row dense;
grid-column-gap: $grid_line;
grid-row-gap: $grid_line;
}
.pad_last {
grid-column-end: $cols + 1;
}