Skip to content

Commit 512d476

Browse files
committed
Space summary evenly
1 parent e1a4f14 commit 512d476

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

site/static/compare.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@
203203
.benchmark-name {
204204
text-align: center;
205205
}
206+
207+
.summary {
208+
display: flex;
209+
align-items: center;
210+
}
206211
</style>
207212
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
208213
</head>
@@ -341,23 +346,23 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
341346
</div>
342347
</fieldset>
343348
<div v-if="data" id="content" style="margin-top: 15px">
344-
<div>
349+
<div style="display: flex; justify-content: space-evenly;">
345350
<span style="font-weight: bold;">Summary:</span>
346-
<span class="positive">
351+
<span class="summary positive">
347352
{{summary.numRegressed}}
348353
<svg style="width:18px;height:18px" viewBox="0 0 24 24">
349354
<path
350355
d="M16,18L18.29,15.71L13.41,10.83L9.41,14.83L2,7.41L3.41,6L9.41,12L13.41,8L19.71,14.29L22,12V18H16Z">
351356
</path>
352357
</svg>
353358
</span>
354-
<span>
359+
<span class="summary">
355360
{{summary.numUnchanged}}
356361
<svg style="width:18px;height:18px" viewBox="0 0 24 24">
357362
<path d="M22,12L18,8V11H3V13H18V16L22,12Z"></path>
358363
</svg>
359364
</span>
360-
<span class="negative">
365+
<span class="summary negative">
361366
{{summary.numImproved}}
362367
<svg style="width:18px;height:18px" viewBox="0 0 24 24">
363368
<path

0 commit comments

Comments
 (0)