Skip to content

Commit fd16929

Browse files
committed
Only show arrow boxes when it makes sense
1 parent 66d2fe0 commit fd16929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/static/compare.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
206206
<div v-if="data" style="margin: 12px 0;">
207207
<div style="display: flex;justify-content: center;">
208208
<div class="description-box">
209-
<div class="description-arrow"><a v-if="data.prev" v-bind:href="prevLink">&larr;</a></div>
209+
<div v-if="data.prev" class="description-arrow"><a v-bind:href="prevLink">&larr;</a></div>
210210
<div style="padding: 10px;">
211211
<a v-if="data.a.pr" v-bind:href="prLink(data.a.pr)">#{{data.a.pr}}</a>
212212
<span v-if="data.a.date">{{formatDate(data.a.date)}}</span>
@@ -221,7 +221,7 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
221221
<span v-if="data.b.date">{{formatDate(data.b.date)}}</span>
222222
(<a v-bind:href="commitLink(data.b.commit)">{{short(data.b)}}</a>)
223223
</div>
224-
<div class="description-arrow"><a v-if="data.next" v-bind:href="nextLink">&rarr;</a></div>
224+
<div v-if="data.next" class="description-arrow"><a v-bind:href="nextLink">&rarr;</a></div>
225225
</div>
226226
</div>
227227
<div style="display: flex; justify-content: center;">

0 commit comments

Comments
 (0)