fix review card spacing and centering in homepage

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-11-20 17:03:55 -08:00
parent 331f8e731c
commit a5ac2dc940
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class ReviewCard extends HTMLElement {
row-gap: 5px; row-gap: 5px;
padding: 0 16px 16px 16px; padding: 0 16px 16px 16px;
width: 178px; width: 178px;
margin: 8px 8px 8px 8px;
} }
div.rating { div.rating {

View File

@ -46,6 +46,7 @@ img#create-btn {
display: flex; display: flex;
position: relative; position: relative;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center;
} }
.review-container > div { .review-container > div {
background-color: #f1f1f1; background-color: #f1f1f1;