Skip to content

Commit

Permalink
feat(ui): improve grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarlier committed Apr 24, 2021
1 parent 9c1824f commit 7f61e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/src/articles/components/ArticleCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
font-size: small;
display: flex;
align-items: baseline;
align-self: end;
align-self: flex-end;
border-radius: inherit;
width: 100%;
background-color: var(--panel-body-color);
Expand Down
4 changes: 1 addition & 3 deletions ui/src/articles/components/ArticleList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
}

.grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid article {
Expand Down

0 comments on commit 7f61e08

Please sign in to comment.