Skip to content

Commit

Permalink
feat(patcher): label style improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
brownsugar committed Mar 17, 2023
1 parent efe3f95 commit 6d9f619
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/components/kart-patcher.vue
Expand Up @@ -51,12 +51,14 @@
<q-separator class="q-my-md" />
<div class="q-py-sm">
<div class="row justify-between">
<div
<q-badge
v-if="filesTotal"
class="text-accent q-mr-xs"
>
{{ fileCounterLabel }}
</div>
class="q-mr-xs"
color="generic"
:label="fileCounterLabel"
transparent
outline
/>
<div class="col ellipsis">
{{ fileStatusLabel }}
</div>
Expand Down Expand Up @@ -284,7 +286,7 @@ const stepProgress = computed(() => {
return Number(value.toFixed(1))
})
const fileCounterLabel = computed(() => {
return `[${file.value.index + 1} / ${filesTotal.value}]`
return `${file.value.index + 1} / ${filesTotal.value}`
})
const fileStatusLabel = computed(() => {
if (!step.value.active)
Expand Down

0 comments on commit 6d9f619

Please sign in to comment.