mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2025-09-10 08:27:20 +00:00
tag functionality in form, review card changes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user