multimodalart HF staff commited on
Commit
e1fdf6f
1 Parent(s): c157080

New way of dynamic loading

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -176,7 +176,9 @@ css = '''
176
  .gradio-container {font-family: 'IBM Plex Sans', sans-serif}
177
  #top_title{margin-bottom: .5em}
178
  #top_title h2{margin-bottom: 0; text-align: center}
179
- #main_row{flex-wrap: wrap; gap: 1em; max-height: 550px; overflow-y: scroll; flex-direction: row}
 
 
180
  @media (min-width: 768px){#main_row > div{flex: 1 1 32%; margin-left: 0 !important}}
181
  .gr-prose code::before, .gr-prose code::after {content: "" !important}
182
  ::-webkit-scrollbar {width: 10px}
 
176
  .gradio-container {font-family: 'IBM Plex Sans', sans-serif}
177
  #top_title{margin-bottom: .5em}
178
  #top_title h2{margin-bottom: 0; text-align: center}
179
+ /*#main_row{flex-wrap: wrap; gap: 1em; max-height: 550px; overflow-y: scroll; flex-direction: row}*/
180
+ #component-3{height: 760px; overflow: auto}
181
+ #component-9{position: sticky;top: 0;align-self: flex-start;}
182
  @media (min-width: 768px){#main_row > div{flex: 1 1 32%; margin-left: 0 !important}}
183
  .gr-prose code::before, .gr-prose code::after {content: "" !important}
184
  ::-webkit-scrollbar {width: 10px}