Rammohan0504 commited on
Commit
12901d6
·
verified ·
1 Parent(s): a4cac9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -208,7 +208,7 @@ def display_dishes(category):
208
  <p style='margin: 5px 0; font-size: 14px; color: #555;'>{dish['description']}</p>
209
  <p style='margin: 0; font-size: 16px; font-weight: bold;'>Price: {dish['price']}</p>
210
  </div>
211
- <div style='flex: 1; display: flex; flex-direction: column; align-items: center;'>
212
  <img src='{dish['image']}' alt='{dish['name']}' style='width: 120px; height: 80px; object-fit: cover; border-radius: 10px; margin-bottom: 10px;'>
213
  <button onclick="showPopup('{dish['name']}', '{dish['description']}', '{dish['price']}', '{dish['image']}')"
214
  style='padding: 10px 20px; background-color: #28a745; color: white; border: none; border-radius: 5px; cursor: pointer;'>
 
208
  <p style='margin: 5px 0; font-size: 14px; color: #555;'>{dish['description']}</p>
209
  <p style='margin: 0; font-size: 16px; font-weight: bold;'>Price: {dish['price']}</p>
210
  </div>
211
+ <div style='flex: 1; display: flex; flex-direction: row; align-items: center;'>
212
  <img src='{dish['image']}' alt='{dish['name']}' style='width: 120px; height: 80px; object-fit: cover; border-radius: 10px; margin-bottom: 10px;'>
213
  <button onclick="showPopup('{dish['name']}', '{dish['description']}', '{dish['price']}', '{dish['image']}')"
214
  style='padding: 10px 20px; background-color: #28a745; color: white; border: none; border-radius: 5px; cursor: pointer;'>