Skip to content

Commit cf1daa1

Browse files
committed
Improve inputs
1 parent ab26fe3 commit cf1daa1

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

site/static/compare.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
.section {
2323
display: flex;
24-
margin: 4px 0;
24+
margin: 10px 0;
2525
}
2626

2727
#commits {
@@ -62,12 +62,6 @@
6262
font-size: 16px;
6363
}
6464

65-
.section .section-heading {
66-
display: flex;
67-
flex-direction: column;
68-
justify-content: center;
69-
}
70-
7165
#filters-content .section-heading {
7266
font-size: 16px;
7367
}
@@ -85,7 +79,6 @@
8579

8680
input {
8781
border-radius: 5px;
88-
padding: 4px;
8982
font-size: 12px;
9083
height: 100%;
9184
}
@@ -98,7 +91,6 @@
9891
width: 100%;
9992
font-weight: bold;
10093
background: #ADD8E6;
101-
margin: 10px 0;
10294
}
10395

10496
.cache-label {
@@ -195,15 +187,15 @@ <h1>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
195187
<div class="section">
196188
<div class="section-heading">Filter by benchmark
197189
</div>
198-
<input id="filter" type="text" v-model="filter.name" /> </p>
190+
<input id="filter" type="text" v-model="filter.name" />
199191
</div>
200192
<div class=" section">
201193
<div class="section-heading">
202-
<div>
194+
<div style="width: 160px;">
203195
<span>Cache states</span>
204-
<div class="tooltip">?<span class="tooltiptext">
205-
Most benchmarks have at least 4 cache states for which we collect data
206-
</div>
196+
<span class="tooltip">?<span class="tooltiptext">
197+
Most benchmarks have at least 4 cache states for which we collect data</span>
198+
</span>
207199
</div>
208200
</div>
209201
<ul id="states-list">
@@ -317,7 +309,7 @@ <h1>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
317309
</tbody>
318310
</table>
319311
<br />
320-
<table class="compare" v-if="data && data.a.bootstrap">
312+
<table class="compare" v-if="data && data.a.bootstrap.length > 0">
321313
<tr>
322314
<td colspan="4">bootstrap timings; variance is 1-3% on smaller benchmarks! Values in seconds.</td>
323315
</tr>

0 commit comments

Comments
 (0)