Skip to content

Commit

Permalink
feat: show loading circle when loading reader contents
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingWeasel committed Aug 18, 2024
1 parent 3bb85b1 commit bfefc7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/reader/Reader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ onMounted(async () => {
<div
class="py-6 px-10 flex flex-col items-center w-full h-[calc(100vh-3.25rem)] overflow-auto"
>
<div v-if="!sections">
<Loader2 class="animate-spin" />
</div>
<div
v-for="(section, sectionIndex) in sections"
class="max-w-[500px] w-[500px] min-w-[350px]"
Expand Down

0 comments on commit bfefc7b

Please sign in to comment.