Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ def filter_dishes(category):
|
|
| 88 |
# Generate dish cards with "Add" button
|
| 89 |
def display_dishes(category):
|
| 90 |
filtered_dishes = filter_dishes(category)
|
| 91 |
-
html_content = "<div style='display: flex; flex-direction: column; align-items: center; width: 100%; height:
|
| 92 |
for dish in filtered_dishes:
|
| 93 |
html_content += f"""
|
| 94 |
<div style='margin: 10px; display: flex; align-items: center; justify-content: space-between;
|
|
|
|
| 88 |
# Generate dish cards with "Add" button
|
| 89 |
def display_dishes(category):
|
| 90 |
filtered_dishes = filter_dishes(category)
|
| 91 |
+
html_content = "<div style='display: flex; flex-direction: column; align-items: center; width: 100%; height:100%; overflow-y: auto;'>"
|
| 92 |
for dish in filtered_dishes:
|
| 93 |
html_content += f"""
|
| 94 |
<div style='margin: 10px; display: flex; align-items: center; justify-content: space-between;
|