Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ def filter_dishes(category):
|
|
| 103 |
# Generate dish cards with "Add" button
|
| 104 |
def display_dishes(category):
|
| 105 |
filtered_dishes = filter_dishes(category)
|
| 106 |
-
html_content = "<div style='display: flex
|
| 107 |
for dish in filtered_dishes:
|
| 108 |
html_content += f"""
|
| 109 |
<div style='margin: 10px; display: flex; align-items: center; justify-content: space-between;
|
|
|
|
| 103 |
# Generate dish cards with "Add" button
|
| 104 |
def display_dishes(category):
|
| 105 |
filtered_dishes = filter_dishes(category)
|
| 106 |
+
html_content = "<div style='display: flex; flex-direction: column; align-items: center; width: 100%; height:100%'>"
|
| 107 |
for dish in filtered_dishes:
|
| 108 |
html_content += f"""
|
| 109 |
<div style='margin: 10px; display: flex; align-items: center; justify-content: space-between;
|