Skip to content

Commit a634f23

Browse files
committed
UX Improvements
1 parent 3be35c5 commit a634f23

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

src/components/globallatency.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<tbody>
6161
<tr v-for="result in pingResults" :key="result.country">
6262
<td>
63-
<span :class="'fi fi-' + result.country.toLowerCase()"></span>
63+
<span :class="'jn-fl fi fi-' + result.country.toLowerCase()"></span>
6464
{{ result.country }}
6565
</td>
6666
<td :class="result.stats.min < 100 ? 'text-success' : ''">{{ result.stats.min.toFixed(1) }}

src/components/ipcheck.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</span>
6868
<span class="col-10 ">
6969
{{ card.country_name }}
70-
<span v-if="card.country_code" :class="'fi fi-' + card.country_code.toLowerCase()"></span>
70+
<span v-if="card.country_code" :class="'jn-fl fi fi-' + card.country_code.toLowerCase()"></span>
7171
</span>
7272
</li>
7373

src/components/mtrtest.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<button class="accordion-button" type="button" data-bs-toggle="collapse"
5050
:data-bs-target="'#collapse' + index" :aria-expanded="index === 0 ? 'true' : 'false'"
5151
:aria-controls="'collapse' + index" :class="{ collapsed: index !== 0 }">
52-
<span :class="'fi fi-' + result.country.toLowerCase()"></span>&nbsp;<strong>{{ result.city }}, {{
52+
<span :class="'jn-fl fi fi-' + result.country.toLowerCase()"></span>&nbsp;<strong>{{ result.city }}, {{
5353
result.country }}</strong>
5454
<span v-if="!isMobile">&nbsp;-&nbsp;{{ result.network }}&nbsp;</span>
5555
<span v-if="!isMobile" class="badge rounded-pill"

src/components/queryip.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}}</span>&nbsp;:&nbsp;
2929
<span class="col-10 ">{{ modalQueryResult.country_name }}&nbsp;
3030
<span v-if="modalQueryResult.country_code"
31-
:class="'fi fi-' + modalQueryResult.country_code.toLowerCase()"></span>
31+
:class="'jn-fl fi fi-' + modalQueryResult.country_code.toLowerCase()"></span>
3232
</span>
3333
</li>
3434
<li class="list-group-item jn-list-group-item" :class="{ 'dark-mode': isDarkMode }"><span

src/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
height: fit-content;
7272
}
7373

74+
.jn-fl {
75+
box-shadow: 0 0 1pt #201f1f70;
76+
}
77+
7478
.jn-list-group-item {
7579
border-bottom: 1px solid rgb(222, 226, 230);
7680
padding: 12px 4px 12px 4px;

0 commit comments

Comments
 (0)