fix: no more blurry countdown

This commit is contained in:
Julien Calixte
2026-02-12 23:05:31 +01:00
parent 1000f6e080
commit 25f3ed1181

View File

@@ -19,16 +19,7 @@ const confirmBeforeCachingAllNotes = async () => {
class="progress progress-accent w-56" class="progress progress-accent w-56"
:max="totalOfNotes" :max="totalOfNotes"
></progress> ></progress>
<div> <div class="numeric">{{ noteCompleted }}/{{ totalOfNotes }}</div>
<span class="countdown">
<span
:style="{ '--value': noteCompleted }"
aria-live="polite"
:aria-label="`${noteCompleted}`"
>{{ noteCompleted }}</span
></span
>/{{ totalOfNotes }}
</div>
</div> </div>
<button v-else class="button" @click="() => confirmBeforeCachingAllNotes()"> <button v-else class="button" @click="() => confirmBeforeCachingAllNotes()">
<svg <svg
@@ -56,4 +47,8 @@ const confirmBeforeCachingAllNotes = async () => {
.cache-all-notes { .cache-all-notes {
text-align: center; text-align: center;
} }
.numeric {
font-family: "Courier Prime", monospace;
}
</style> </style>