mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
return to fixed flow
This commit is contained in:
parent
3d4f60c2b4
commit
ad517a9bfe
5 changed files with 31 additions and 34 deletions
|
@ -8,6 +8,7 @@ $cols: $content_width / $cell;
|
|||
.grid_test {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
grid-template-rows: 360px;
|
||||
grid-auto-rows: 256px;
|
||||
grid-auto-flow: row dense;
|
||||
grid-column-gap: $grid_line;
|
||||
|
@ -19,13 +20,13 @@ $cols: $content_width / $cell;
|
|||
}
|
||||
|
||||
.hero {
|
||||
grid-row-start: 0;
|
||||
grid-row-end: span 2;
|
||||
grid-row-start: 1;
|
||||
grid-row-end: span 1;
|
||||
grid-column-start: 0;
|
||||
grid-column-end: span 4;
|
||||
// gridRow: "1 / 2",
|
||||
// gridColumn: "1 / -1",
|
||||
background: #222222;
|
||||
background: darken($content_bg, 2%);
|
||||
border-radius: $radius;
|
||||
// height: 33vh;
|
||||
display: flex;
|
||||
|
@ -38,7 +39,7 @@ $cols: $content_width / $cell;
|
|||
// grid-row: -1 / 3;
|
||||
grid-row-end: span 3;
|
||||
grid-column: -2 / -1;
|
||||
background: #090909;
|
||||
background: darken($content_bg, 8%);
|
||||
border-radius: $radius;
|
||||
padding: $gap;
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue