Skip to content

Commit

Permalink
cq
Browse files Browse the repository at this point in the history
  • Loading branch information
royalfig committed Jul 10, 2023
1 parent fdd70fa commit 0f3f7ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/css/components/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@

/* Featured card */
.sm-featured-card {
grid-row: span 18;
grid-row: span 16;
grid-column: span 12;
}

Expand Down
6 changes: 6 additions & 0 deletions assets/css/pages/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
margin-block: var(--gap) 3rem;
}

.sm-grid {
container-type: inline-size;
container-name: home;
}

/* Grid */
.sm-grid-home {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
grid-column: content;
grid-auto-rows: calc((100vw - 220px - (var(--gutter) * 2)) / 12);
grid-auto-rows: calc((100cqw - 220px - (var(--gutter) * 2)) / 12);
grid-auto-flow: dense;
gap: 20px;
padding: 6rem 0;
Expand Down

0 comments on commit 0f3f7ab

Please sign in to comment.