Rammohan0504 commited on
Commit
2fd2879
·
verified ·
1 Parent(s): c4d4d3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -148,11 +148,11 @@ popup_html = """
148
 
149
  # Generate dish cards
150
  def display_dishes(category):
151
- html_content = "<div style='display: flex; flex-direction: column; gap: 20px; width: 80%; margin: 0 auto;'>"
152
  for dish in menu_data:
153
  if category == "ALL" or dish["category"] == category:
154
  html_content += f"""
155
- <div style='display: flex; align-items: center; justify-content: space-between; height:100vh; padding: 20px; border: 1px solid #ddd; border-radius: 10px; background-color: #f9f9f9;'>
156
  <div style='flex: 3; text-align: left;'>
157
  <h3 style='margin: 0; font-size: 20px;'>{dish['name']}</h3>
158
  <p style='margin: 5px 0; font-size: 14px; color: #555;'>{dish['description']}</p>
 
148
 
149
  # Generate dish cards
150
  def display_dishes(category):
151
+ html_content = "<div style='display: flex; flex-direction: column; height:100vh; gap: 20px; width: 80%; margin: auto;'>"
152
  for dish in menu_data:
153
  if category == "ALL" or dish["category"] == category:
154
  html_content += f"""
155
+ <div style='display: flex; align-items: center; justify-content: space-between; padding: 20px; border: 1px solid #ddd; border-radius: 10px; background-color: #f9f9f9;'>
156
  <div style='flex: 3; text-align: left;'>
157
  <h3 style='margin: 0; font-size: 20px;'>{dish['name']}</h3>
158
  <p style='margin: 5px 0; font-size: 14px; color: #555;'>{dish['description']}</p>