Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ with gr.Blocks() as demo:
|
|
| 56 |
with gr.Row():
|
| 57 |
gr.HTML(generate_food_menu()) # Render food menu
|
| 58 |
gr.HTML("""
|
| 59 |
-
<div id=\"popup\" class=\"popup\" style=\"display:none; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); width:500px; background:rgba(
|
| 60 |
<div class=\"popup-content\" style=\"background:#fff; padding:20px; border-radius:15px; width:100%; text-align:center;\">
|
| 61 |
<img id=\"popup-image\" src=\"\" alt=\"Food Image\" style=\"width:100%; height:auto; border-radius:10px;\">
|
| 62 |
<h2 id=\"popup-name\" style=\"margin: 15px 0;\"></h2>
|
|
|
|
| 56 |
with gr.Row():
|
| 57 |
gr.HTML(generate_food_menu()) # Render food menu
|
| 58 |
gr.HTML("""
|
| 59 |
+
<div id=\"popup\" class=\"popup\" style=\"display:none; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); width:500px; background:rgba(255, 255, 255, 0.95); display:flex; flex-direction: column; justify-content:center; align-items:center; border-radius: 15px; padding: 20px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);\">
|
| 60 |
<div class=\"popup-content\" style=\"background:#fff; padding:20px; border-radius:15px; width:100%; text-align:center;\">
|
| 61 |
<img id=\"popup-image\" src=\"\" alt=\"Food Image\" style=\"width:100%; height:auto; border-radius:10px;\">
|
| 62 |
<h2 id=\"popup-name\" style=\"margin: 15px 0;\"></h2>
|