tabedini commited on
Commit
eadcac1
·
verified ·
1 Parent(s): 5c63d15

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +34 -26
utils.py CHANGED
@@ -32,13 +32,30 @@ 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 td,
36
- #leaderboard-table th {
 
37
  text-align: center;
38
  vertical-align: middle;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
40
  #leaderboard-table-lite {
41
- margin-top: 15px
42
  }
43
  #search-bar-table-box > div:first-child {
44
  background: none;
@@ -47,15 +64,6 @@ body, .gradio-container, .gr-button, .gr-input, .gr-slider, .gr-dropdown, .gr-ma
47
  #search-bar {
48
  padding: 0px;
49
  }
50
- #leaderboard-table td:nth-child(0),
51
- #leaderboard-table th:nth-child(0) {
52
- max-width: 400px;
53
- overflow: auto;
54
- white-space: nowrap;
55
- }
56
- table > thead {
57
- white-space: normal;
58
- }
59
  .tab-buttons button {
60
  font-size: 20px;
61
  }
@@ -70,7 +78,7 @@ table > thead {
70
  #scale-logo .download {
71
  display: none;
72
  }
73
- #filter_type{
74
  border: 0;
75
  padding-left: 0;
76
  padding-top: 0;
@@ -78,29 +86,29 @@ table > thead {
78
  #filter_type label {
79
  display: flex;
80
  }
81
- #filter_type label > span{
82
  margin-top: var(--spacing-lg);
83
  margin-right: 0.5em;
84
  }
85
- #filter_type label > .wrap{
86
  width: 103px;
87
  }
88
- #filter_type label > .wrap .wrap-inner{
89
  padding: 2px;
90
  }
91
- #filter_type label > .wrap .wrap-inner input{
92
- width: 1px
93
  }
94
- #filter-columns-type{
95
- border:0;
96
- padding:0.5;
97
  }
98
- #filter-columns-size{
99
- border:0;
100
- padding:0.5;
101
  }
102
- #box-filter > .form{
103
- border: 0
104
  }
105
  """
106
 
 
32
  margin-top: 15px;
33
  text-align: center;
34
  }
35
+ #leaderboard-table,
36
+ #leaderboard-table th,
37
+ #leaderboard-table td {
38
  text-align: center;
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
  }
60
  #search-bar-table-box > div:first-child {
61
  background: none;
 
64
  #search-bar {
65
  padding: 0px;
66
  }
 
 
 
 
 
 
 
 
 
67
  .tab-buttons button {
68
  font-size: 20px;
69
  }
 
78
  #scale-logo .download {
79
  display: none;
80
  }
81
+ #filter_type {
82
  border: 0;
83
  padding-left: 0;
84
  padding-top: 0;
 
86
  #filter_type label {
87
  display: flex;
88
  }
89
+ #filter_type label > span {
90
  margin-top: var(--spacing-lg);
91
  margin-right: 0.5em;
92
  }
93
+ #filter_type label > .wrap {
94
  width: 103px;
95
  }
96
+ #filter_type label > .wrap .wrap-inner {
97
  padding: 2px;
98
  }
99
+ #filter_type label > .wrap .wrap-inner input {
100
+ width: 1px;
101
  }
102
+ #filter-columns-type {
103
+ border: 0;
104
+ padding: 0.5;
105
  }
106
+ #filter-columns-size {
107
+ border: 0;
108
+ padding: 0.5;
109
  }
110
+ #box-filter > .form {
111
+ border: 0;
112
  }
113
  """
114