Fix thunks status layout

This commit is contained in:
Jon Staab
2025-05-13 10:35:42 -07:00
parent 18fc895fcb
commit 60ec6924f3
+6 -4
View File
@@ -61,9 +61,11 @@
{@const url = failedUrls[0]}
{@const status = $thunk.status[url]}
{@const message = $thunk.details[url]}
<button class="flex justify-end px-1 text-xs {restProps.class}" onclick={stopPropagation(noop)}>
<button
class="flex w-full justify-end px-1 text-xs {restProps.class}"
onclick={stopPropagation(noop)}>
<Tippy
class="flex items-center {restProps.class}"
class="flex items-center"
component={ThunkStatusDetail}
props={{url, message, status, retry}}
params={{interactive: true}}>
@@ -76,8 +78,8 @@
</Tippy>
</button>
{:else if showPending}
<div class="flex justify-end px-1 text-xs {restProps.class}">
<span class="flex items-center gap-1 {restProps.class}">
<div class="flex w-full justify-end px-1 text-xs {restProps.class}">
<span class="flex items-center gap-1">
<span class="loading loading-spinner mx-1 h-3 w-3 translate-y-px"></span>
<span class="opacity-50">Sending...</span>
<button