katelynhur commited on
Commit
d9c04d3
·
verified ·
1 Parent(s): 4f096d8

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -10
app.py CHANGED
@@ -550,22 +550,26 @@ def _hero_css():
550
 
551
  /* === Scrollable tables ===
552
  Hit multiple possible wrappers Gradio uses across versions */
553
- #singles-df [data-testid="dataframe"],
554
- #singles-df .gr-dataframe,
555
- #singles-df .wrap,
556
  #singles-df .overflow-auto,
 
557
  #singles-df .table-wrap {
558
- max-height: 260px !important;
559
- overflow-y: auto !important;
 
 
 
 
560
  }
561
 
562
- #pairs-df [data-testid="dataframe"],
563
- #pairs-df .gr-dataframe,
564
- #pairs-df .wrap,
565
  #pairs-df .overflow-auto,
 
566
  #pairs-df .table-wrap {
567
- max-height: 260px !important;
568
- overflow-y: auto !important;
 
 
 
 
569
  }
570
  """
571
 
 
550
 
551
  /* === Scrollable tables ===
552
  Hit multiple possible wrappers Gradio uses across versions */
 
 
 
553
  #singles-df .overflow-auto,
554
+ #singles-df .wrap,
555
  #singles-df .table-wrap {
556
+ max-height: 220px !important;
557
+ overflow: hidden !important;
558
+ }
559
+ #singles-df [data-testid="dataframe"] {
560
+ max-height: 220px !important;
561
+ overflow-y: auto !important;
562
  }
563
 
 
 
 
564
  #pairs-df .overflow-auto,
565
+ #pairs-df .wrap,
566
  #pairs-df .table-wrap {
567
+ max-height: 220px !important;
568
+ overflow: hidden !important;
569
+ }
570
+ #pairs-df [data-testid="dataframe"] {
571
+ max-height: 220px !important;
572
+ overflow-y: auto !important;
573
  }
574
  """
575