tag functionality in form, review card changes

This commit is contained in:
Gavyn Ezell
2022-11-08 21:51:03 -08:00
parent d8ed4d24a8
commit 3e4ae68e2e
5 changed files with 109 additions and 49 deletions

View File

@@ -61,18 +61,11 @@ class ReviewCard extends HTMLElement {
width: calc(100% + 32px);
}
p.ingredients {
height: 32px;
line-height: 16px;
padding-top: 4px;
overflow: hidden;
}
p.organization {
p.restaurant-name {
color: black !important;
}
p.title {
p.meal-name {
display: -webkit-box;
font-size: 16px;
height: 36px;
@@ -82,7 +75,7 @@ class ReviewCard extends HTMLElement {
-webkit-box-orient: vertical;
}
p:not(.title),
p:not(.meal-name),
span,
time {
color: #70757A;
@@ -150,6 +143,7 @@ class ReviewCard extends HTMLElement {
articleEl.append(pRestaurant)
articleEl.append(div)
}
}
customElements.define('review-card', ReviewCard);