mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: misaligment of loading animation
This commit is contained in:
@@ -316,7 +316,17 @@ function scrollToTop(element: HTMLElement, duration: number) {
|
||||
/>
|
||||
|
||||
<!-- empty -->
|
||||
<empty v-if="!isLoading && moments.length === 0" w="full" h="full" />
|
||||
<empty
|
||||
v-if="!isLoading && moments.length === 0"
|
||||
pos="absolute left-0"
|
||||
bg="$bew-content-1"
|
||||
z="1"
|
||||
w="full"
|
||||
h="full"
|
||||
flex="~"
|
||||
items="center"
|
||||
border="rounded-$bew-radius"
|
||||
/>
|
||||
|
||||
<!-- moments -->
|
||||
<transition-group name="list">
|
||||
|
||||
Reference in New Issue
Block a user