Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|
| 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;'>
|