fix: no more blurry countdown
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user