saumyamalik commited on
Commit
df8bd5a
·
1 Parent(s): f6ea81c

attempting to widen model column

Browse files
Files changed (1) hide show
  1. src/display/css_html_js.py +3 -2
src/display/css_html_js.py CHANGED
@@ -23,6 +23,8 @@ custom_css = """
23
 
24
  #leaderboard-table {
25
  margin-top: 15px
 
 
26
  }
27
 
28
  #leaderboard-table-lite {
@@ -41,8 +43,7 @@ custom_css = """
41
  /* Limit the width of the first AutoEvalColumn so that names don't expand too much */
42
  #leaderboard-table td:nth-child(2),
43
  #leaderboard-table th:nth-child(2) {
44
- max-width: 1000px;
45
- overflow: auto;
46
  white-space: nowrap;
47
  }
48
 
 
23
 
24
  #leaderboard-table {
25
  margin-top: 15px
26
+ width: 100%; /* fill its container */
27
+ overflow-x: auto;
28
  }
29
 
30
  #leaderboard-table-lite {
 
43
  /* Limit the width of the first AutoEvalColumn so that names don't expand too much */
44
  #leaderboard-table td:nth-child(2),
45
  #leaderboard-table th:nth-child(2) {
46
+ min-width: 1000px;
 
47
  white-space: nowrap;
48
  }
49