Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ with gr.Blocks() as demo:
|
|
| 116 |
)
|
| 117 |
|
| 118 |
gr.HTML(f"""
|
| 119 |
-
<div id="popup" style="display:inline-block; position:
|
| 120 |
background-color: white; padding: 20px; border-radius: 10px;
|
| 121 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 500px;">
|
| 122 |
<div style="position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 20px; font-weight: bold;" onclick="closePopup()">×</div>
|
|
|
|
| 116 |
)
|
| 117 |
|
| 118 |
gr.HTML(f"""
|
| 119 |
+
<div id="popup" style="display:inline-block; position: fixed; cursor: pointer; top: 50%; left: 50%; transform: translate(-50%, -50%);
|
| 120 |
background-color: white; padding: 20px; border-radius: 10px;
|
| 121 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 500px;">
|
| 122 |
<div style="position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 20px; font-weight: bold;" onclick="closePopup()">×</div>
|