Chore: housekeeping

This commit is contained in:
Pieter Vander Vennet 2025-02-10 02:04:58 +01:00
parent cd9e03dd6f
commit b300fffdc5
156 changed files with 4436 additions and 1318 deletions

View file

@ -83,7 +83,7 @@
<slot name="dot-menu-actions" slot="dot-menu-actions" />
</ImageOperations>
</div>
<div class="absolute top-4 right-4">
<div class="absolute right-4 top-4">
<CloseButton
class="normal-background"
on:click={() => {
@ -136,7 +136,7 @@
class="bg-black-transparent absolute right-0 top-0 rounded-bl-full"
on:click={() => previewedImage?.set(image)}
>
<MagnifyingGlassPlusIcon class="h-8 w-8 cursor-zoom-in pl-3 pb-3" color="white" />
<MagnifyingGlassPlusIcon class="h-8 w-8 cursor-zoom-in pb-3 pl-3" color="white" />
</div>
{/if}
</div>

View file

@ -54,7 +54,7 @@
issue: reportReason.data,
sequence_id: imageInfo.collection,
reporter_comments: (reportFreeText.data ?? "") + "\n\n" + "Reported from " + url,
reporter_email
reporter_email,
})
reported.set(true)
}
@ -76,8 +76,9 @@
await state?.changes?.applyAction(
new ChangeTagAction(tgs.id, new Tag(key, ""), tgs, {
changeType: "delete-image",
theme: state.theme.id
}))
theme: state.theme.id,
})
)
}
}
@ -175,7 +176,7 @@
</div>
<style>
:global(.carousel-max-height) {
max-height: var(--image-carousel-height);
}
:global(.carousel-max-height) {
max-height: var(--image-carousel-height);
}
</style>

View file

@ -22,7 +22,7 @@
</script>
<div class={twMerge("relative h-full w-full", clss)}>
<div class="panzoom-container focusable absolute top-0 left-0 h-full w-full overflow-hidden">
<div class="panzoom-container focusable absolute left-0 top-0 h-full w-full overflow-hidden">
{#if !$isLoaded}
<div class="flex h-full w-full items-center justify-center">
<Loading />