@@ -90,12 +90,12 @@ const {toggleExpanded, isExpanded} = useExpandedStore();
90
90
<table v-else class =" benches compare" >
91
91
<thead >
92
92
<tr >
93
- <th ></th >
93
+ <th class = " toggle " ></th >
94
94
<th >Benchmark</th >
95
95
<th >Profile</th >
96
96
<th >Scenario</th >
97
97
<th >% Change</th >
98
- <th >
98
+ <th class = " narrow " >
99
99
Significance Threshold
100
100
<Tooltip >
101
101
The minimum % change that is considered significant. The higher
@@ -109,7 +109,7 @@ const {toggleExpanded, isExpanded} = useExpandedStore();
109
109
how the significance threshold is calculated.
110
110
</Tooltip >
111
111
</th >
112
- <th >
112
+ <th class = " narrow " >
113
113
Significance Factor
114
114
<Tooltip >
115
115
How much a particular result is over the significance threshold. A
@@ -124,7 +124,7 @@ const {toggleExpanded, isExpanded} = useExpandedStore();
124
124
<tbody >
125
125
<template v-for =" comparison in comparisons " >
126
126
<tr >
127
- <td @click =" toggleExpanded(comparison.testCase)" >
127
+ <td @click =" toggleExpanded(comparison.testCase)" class = " toggle " >
128
128
{{ isExpanded(comparison.testCase) ? "▼" : "▶" }}
129
129
</td >
130
130
<td >
@@ -161,7 +161,7 @@ const {toggleExpanded, isExpanded} = useExpandedStore();
161
161
</div >
162
162
</div >
163
163
</td >
164
- <td >
164
+ <td class = " narrow " >
165
165
<div class =" numeric-aligned" >
166
166
<div >
167
167
{{
@@ -172,7 +172,7 @@ const {toggleExpanded, isExpanded} = useExpandedStore();
172
172
</div >
173
173
</div >
174
174
</td >
175
- <td >
175
+ <td class = " narrow " >
176
176
<div class =" numeric-aligned" >
177
177
<div >
178
178
{{
@@ -214,8 +214,9 @@ const {toggleExpanded, isExpanded} = useExpandedStore();
214
214
215
215
<style scoped lang="scss">
216
216
.benches {
217
+ width : 100% ;
218
+ table-layout : auto ;
217
219
font-size : medium ;
218
- table-layout : fixed ;
219
220
220
221
td ,
221
222
th {
@@ -237,15 +238,22 @@ const {toggleExpanded, isExpanded} = useExpandedStore();
237
238
border-right : dotted 1px ;
238
239
}
239
240
240
- .benches th {
241
- text-align : center ;
242
- min-width : 50px ;
241
+ .benches {
242
+ td ,
243
+ th {
244
+ text-align : center ;
245
+
246
+ & .toggle {
247
+ padding-right : 5px ;
248
+ cursor : pointer ;
249
+ }
250
+ & .narrow {
251
+ max-width : 100px ;
252
+ }
253
+ }
243
254
}
244
255
245
256
.benches td {
246
- text-align : center ;
247
- width : 25% ;
248
-
249
257
& > .numeric-aligned {
250
258
display : flex ;
251
259
flex-direction : column ;
0 commit comments