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:
parent
e315b33284
commit
0e8d42095d
3 changed files with 27 additions and 14 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue