impr: switch menus to attachment based vs cursed div wrapper

This commit is contained in:
James Xylight committed 2025-08-28 21:18:43 -07:00
1 parent 078fdc2c71
commit 2891c68494
20 files changed
+93 -93

No files matched your search

@@ -134,8 +134,9 @@
{#if profile.current?.user && (amMod(profile.current.user, post.community) || isAdmin(profile.current.user))}
{#await import('$lib/components/lemmy/moderation/ModerationMenu.svelte') then { default: ModerationMenu }}
<ModerationMenu bind:item={post}>
{#snippet target(acting)}
{#snippet target(attachment, acting)}
<Button
{@attach attachment}
size="custom"
color="secondary"
rounding="pill"
@@ -172,8 +173,9 @@
{/if}
<Menu placement="bottom-end">
{#snippet target()}
{#snippet target(popover)}
<Button
{@attach popover}
title={$t('post.actions.more.label')}
color="secondary"
rounding="pill"