Spaces:
Running on Zero
Running on Zero
fix(ui): drawer top padding clears header + scroll instead of clip on overflow
Browse files
app.py
CHANGED
|
@@ -243,7 +243,9 @@ _CUSTOM_CSS = """
|
|
| 243 |
z-index: 50;
|
| 244 |
box-shadow: 4px 0 24px rgba(0,0,0,0.6);
|
| 245 |
max-width: 80vw;
|
| 246 |
-
overflow:
|
|
|
|
|
|
|
| 247 |
}
|
| 248 |
/* `.aio-shell.drawer-open` is toggled by the hamburger's inline JS.
|
| 249 |
`body:has(:checked)` would be cleaner but Gradio prefixes user CSS
|
|
|
|
| 243 |
z-index: 50;
|
| 244 |
box-shadow: 4px 0 24px rgba(0,0,0,0.6);
|
| 245 |
max-width: 80vw;
|
| 246 |
+
overflow-y: auto;
|
| 247 |
+
overflow-x: hidden;
|
| 248 |
+
padding-top: 80px !important;
|
| 249 |
}
|
| 250 |
/* `.aio-shell.drawer-open` is toggled by the hamburger's inline JS.
|
| 251 |
`body:has(:checked)` would be cleaner but Gradio prefixes user CSS
|