Spaces:
Running on Zero
Running on Zero
Mehdi commited on
Commit Β·
0ec5648
1
Parent(s): 2f3700c
fix: replace display:none on hidden rows with height:0 so Gradio mounts event handlers
Browse files
app.py
CHANGED
|
@@ -58,15 +58,16 @@ body { background: #0A0F1E !important; margin: 0 !important; }
|
|
| 58 |
box-shadow: 0 8px 32px rgba(0,0,0,0.45) !important;
|
| 59 |
}
|
| 60 |
|
| 61 |
-
/* ββ
|
| 62 |
#hidden-row-status,
|
| 63 |
#hidden-row-question {
|
| 64 |
-
display: none !important;
|
| 65 |
height: 0 !important;
|
| 66 |
-
|
|
|
|
| 67 |
margin: 0 !important;
|
| 68 |
padding: 0 !important;
|
| 69 |
border: none !important;
|
|
|
|
| 70 |
}
|
| 71 |
|
| 72 |
/* ββ Force hero text to be visible (defeat Gradio color resets) βββββββββββββββ */
|
|
|
|
| 58 |
box-shadow: 0 8px 32px rgba(0,0,0,0.45) !important;
|
| 59 |
}
|
| 60 |
|
| 61 |
+
/* ββ Rows are collapsed but NOT display:none so Gradio attaches event handlers ββ */
|
| 62 |
#hidden-row-status,
|
| 63 |
#hidden-row-question {
|
|
|
|
| 64 |
height: 0 !important;
|
| 65 |
+
min-height: 0 !important;
|
| 66 |
+
overflow: visible !important;
|
| 67 |
margin: 0 !important;
|
| 68 |
padding: 0 !important;
|
| 69 |
border: none !important;
|
| 70 |
+
gap: 0 !important;
|
| 71 |
}
|
| 72 |
|
| 73 |
/* ββ Force hero text to be visible (defeat Gradio color resets) βββββββββββββββ */
|