tabedini commited on
Commit
3095c6e
·
verified ·
1 Parent(s): 9f10de8

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +15 -0
utils.py CHANGED
@@ -32,6 +32,7 @@ body, .gradio-container, .gr-button, .gr-input, .gr-slider, .gr-dropdown, .gr-ma
32
  margin-top: 15px;
33
  text-align: center;
34
  }
 
35
  #leaderboard-table,
36
  #leaderboard-table th,
37
  #leaderboard-table td {
@@ -39,21 +40,34 @@ body, .gradio-container, .gr-button, .gr-input, .gr-slider, .gr-dropdown, .gr-ma
39
  vertical-align: middle;
40
  border-collapse: collapse;
41
  }
 
42
  #leaderboard-table td:first-child,
43
  #leaderboard-table th:first-child {
44
  text-align: left;
 
 
 
 
45
  }
 
46
  table > thead {
47
  white-space: normal;
48
  }
 
49
  table > thead th,
50
  table > tbody td {
51
  text-align: center;
52
  vertical-align: middle;
53
  }
 
54
  table > tbody td:first-child {
55
  text-align: left;
 
 
 
 
56
  }
 
57
  #leaderboard-table-lite {
58
  margin-top: 15px;
59
  }
@@ -64,6 +78,7 @@ table > tbody td:first-child {
64
  #search-bar {
65
  padding: 0px;
66
  }
 
67
  .tab-buttons button {
68
  font-size: 20px;
69
  }
 
32
  margin-top: 15px;
33
  text-align: center;
34
  }
35
+
36
  #leaderboard-table,
37
  #leaderboard-table th,
38
  #leaderboard-table td {
 
40
  vertical-align: middle;
41
  border-collapse: collapse;
42
  }
43
+
44
  #leaderboard-table td:first-child,
45
  #leaderboard-table th:first-child {
46
  text-align: left;
47
+ max-width: 200px;
48
+ overflow: hidden;
49
+ text-overflow: ellipsis;
50
+ white-space: nowrap;
51
  }
52
+
53
  table > thead {
54
  white-space: normal;
55
  }
56
+
57
  table > thead th,
58
  table > tbody td {
59
  text-align: center;
60
  vertical-align: middle;
61
  }
62
+
63
  table > tbody td:first-child {
64
  text-align: left;
65
+ max-width: 200px;
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
+ white-space: nowrap;
69
  }
70
+
71
  #leaderboard-table-lite {
72
  margin-top: 15px;
73
  }
 
78
  #search-bar {
79
  padding: 0px;
80
  }
81
+
82
  .tab-buttons button {
83
  font-size: 20px;
84
  }