Rammohan0504 commited on
Commit
7ef6da6
·
verified ·
1 Parent(s): cf771a1

Update app.py

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