louisanoffke / peekah

An intelligent, personal kitchen assistant on rails
3 stars 2 forks source link

Update style: Restaurant show page #155

Closed fnyxart closed 2 years ago

fnyxart commented 2 years ago

Menu Container

Map Container

fnyxart commented 2 years ago

Menu Container

  • [x] Fix the price tag position to be in the right end & up - the corner of the dish card
  • [x] Conditional show of "Allergens: none" (instead of "Alergens: ") if no allergens found (copy from Louisa's code on dish index - dish cards
  • [x] Conditional show of "menu under review" when no dishes available at the restaurant

Map Container

  • [x] Height of the container - not dependant on the height of the menu container (might need a TA | for difference look at restaurants that have dishes and those that don't - the map container should always display how it is when no dishes are shown (more compact))
  • [ ] Contact icons - links to their URL (like should be on dish show Aaron is currently working on) & Conditional show if absent

@MarieW97, just a heads up, I fixed the height issue in the map container.