fix: attachments for missing buttons

This commit is contained in:
James Xylight committed 2025-08-31 10:43:36 -07:00
1 parent b3ea1eb24f
commit 61d674d0e2
3 files changed
+6 -3

No files matched your search

@@ -104,8 +104,9 @@
previewButton={previewAction} previewButton={previewAction}
> >
<Menu> <Menu>
{#snippet target()} {#snippet target(attachment)}
<Button <Button
{@attach attachment}
size="custom" size="custom"
rounding="xl" rounding="xl"
class="w-7.5 h-7.5" class="w-7.5 h-7.5"
+2 -1
View File
@@ -248,8 +248,9 @@
<span>{$t('routes.admin.federation.allowed')}</span> <span>{$t('routes.admin.federation.allowed')}</span>
{#if allowInstance.instance || !(data.instances.value.allowed?.length == 0)} {#if allowInstance.instance || !(data.instances.value.allowed?.length == 0)}
<Popover openOnHover placement="bottom-end"> <Popover openOnHover placement="bottom-end">
{#snippet target()} {#snippet target(attachment)}
<Icon <Icon
{@attach attachment}
src={ExclamationTriangle} src={ExclamationTriangle}
solid solid
class="text-yellow-500" class="text-yellow-500"
@@ -51,8 +51,9 @@
{/if} {/if}
</div> </div>
<Menu> <Menu>
{#snippet target()} {#snippet target(attachment)}
<Button <Button
{@attach attachment}
color="tertiary" color="tertiary"
class="opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 transition-all shrink-0" class="opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 transition-all shrink-0"
size="square-md" size="square-md"