techfreakworm commited on
Commit
e113b13
·
unverified ·
1 Parent(s): 0853bf6

fix(ui): bump drawer/scrim/header z-index above Gradio's z-index:40 labels

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -147,7 +147,7 @@ _CUSTOM_CSS = """
147
  border-bottom: 1px solid #262C35;
148
  background: #12161B;
149
  position: relative;
150
- z-index: 11;
151
  }
152
  .aio-ham-label {
153
  display: none;
@@ -240,7 +240,7 @@ _CUSTOM_CSS = """
240
  position: fixed;
241
  top: 0; bottom: 0;
242
  left: -100%;
243
- z-index: 10;
244
  box-shadow: 4px 0 24px rgba(0,0,0,0.6);
245
  max-width: 80vw;
246
  overflow: hidden;
@@ -251,7 +251,7 @@ _CUSTOM_CSS = """
251
  .aio-shell.drawer-open .aio-drawer { left: 0; }
252
  .aio-shell.drawer-open::before {
253
  content: ""; position: fixed; inset: 0;
254
- background: rgba(0,0,0,0.92); z-index: 9;
255
  backdrop-filter: blur(10px);
256
  -webkit-backdrop-filter: blur(10px);
257
  }
 
147
  border-bottom: 1px solid #262C35;
148
  background: #12161B;
149
  position: relative;
150
+ z-index: 60;
151
  }
152
  .aio-ham-label {
153
  display: none;
 
240
  position: fixed;
241
  top: 0; bottom: 0;
242
  left: -100%;
243
+ z-index: 50;
244
  box-shadow: 4px 0 24px rgba(0,0,0,0.6);
245
  max-width: 80vw;
246
  overflow: hidden;
 
251
  .aio-shell.drawer-open .aio-drawer { left: 0; }
252
  .aio-shell.drawer-open::before {
253
  content: ""; position: fixed; inset: 0;
254
+ background: rgba(0,0,0,0.92); z-index: 45;
255
  backdrop-filter: blur(10px);
256
  -webkit-backdrop-filter: blur(10px);
257
  }