tangled
alpha
login
or
join now
vielle.dev
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atproto explorer
0
fork
atom
overview
issues
pulls
pipelines
load more button fixed position
handle.invalid
6 months ago
13dc61f4
246f3975
+15
-9
2 changed files
expand all
collapse all
unified
split
src
views
blob.tsx
pds.tsx
+9
-5
src/views/blob.tsx
···
47
47
</For>
48
48
</div>
49
49
</Show>
50
50
-
<Show when={cursor() && !response.loading}>
51
51
-
<Button onClick={() => refetch()}>Load More</Button>
52
52
-
</Show>
53
53
-
<Show when={response.loading}>
54
54
-
<span class="iconify lucide--loader-circle mt-2 animate-spin text-xl"></span>
50
50
+
<Show when={cursor()}>
51
51
+
<div class="dark:bg-dark-500/70 fixed bottom-0 z-5 flex w-screen justify-center bg-neutral-100/70 py-3 backdrop-blur-xs">
52
52
+
<Show when={!response.loading}>
53
53
+
<Button onClick={() => refetch()}>Load More</Button>
54
54
+
</Show>
55
55
+
<Show when={response.loading}>
56
56
+
<span class="iconify lucide--loader-circle animate-spin py-3.5 text-xl"></span>
57
57
+
</Show>
58
58
+
</div>
55
59
</Show>
56
60
</div>
57
61
);
+6
-4
src/views/pds.tsx
···
110
110
</A>
111
111
)}
112
112
</For>
113
113
-
<div class="mt-2 flex w-full justify-center">
114
114
-
<Show when={cursor() && !response.loading}>
113
113
+
</div>
114
114
+
<Show when={cursor()}>
115
115
+
<div class="dark:bg-dark-500/70 fixed bottom-0 z-5 flex w-screen justify-center bg-neutral-100/70 py-3 backdrop-blur-xs">
116
116
+
<Show when={!response.loading}>
115
117
<Button onClick={() => refetch()}>Load More</Button>
116
118
</Show>
117
119
<Show when={response.loading}>
118
118
-
<span class="iconify lucide--loader-circle animate-spin text-xl"></span>
120
120
+
<span class="iconify lucide--loader-circle animate-spin py-3.5 text-xl"></span>
119
121
</Show>
120
122
</div>
121
121
-
</div>
123
123
+
</Show>
122
124
</Show>
123
125
);
124
126
};