article card layout updated
This commit is contained in:
1 parent
95b5b56fd4
commit
8163c35efe
2 files changed
+3
-2
No files matched your search
@@ -26,8 +26,8 @@ export const ArticleCard: React.FC<IArticleCardProps> = ({ article, ...props })
|
||||
|
||||
margin: var(--article-card-margin);
|
||||
width: var(--article-card-width);
|
||||
min-width: 10em;
|
||||
max-width: 30em;
|
||||
min-width: 15em;
|
||||
max-width: 20em;
|
||||
|
||||
border-radius: 10px;
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ export const ArticleCardList = ({ articles, nextPage, prevPage }) => (
|
||||
.body {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
`}</style>
|
||||
|
||||
Reference in new issue
Block a user