techfreakworm commited on
Commit
2e44e41
·
unverified ·
1 Parent(s): e113b13

fix(ui): drawer top padding clears header + scroll instead of clip on overflow

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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: hidden;
 
 
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