From aeb4b62688944a11c73c53319d36c3132226fe9d Mon Sep 17 00:00:00 2001 From: James Xylight Date: Wed, 20 Aug 2025 20:54:14 -0700 Subject: [PATCH] design: improve command palette --- .../lemmy/community/CommunityCard.svelte | 10 ---------- .../lemmy/post/actions/PostActions.svelte | 3 ++- .../ui/navbar/commands/CommandItem.svelte | 7 +++---- .../ui/navbar/commands/Commands.svelte | 17 ++++++++++------- 4 files changed, 15 insertions(+), 22 deletions(-) diff --git a/src/lib/components/lemmy/community/CommunityCard.svelte b/src/lib/components/lemmy/community/CommunityCard.svelte index b86853df..0cd8e429 100644 --- a/src/lib/components/lemmy/community/CommunityCard.svelte +++ b/src/lib/components/lemmy/community/CommunityCard.svelte @@ -179,9 +179,6 @@ {#snippet title()} {$t('cards.site.about')} -
{/snippet} @@ -192,9 +189,6 @@ {#snippet title()} {$t('cards.site.stats')} -
{/snippet}
@@ -217,10 +211,6 @@ {#snippet title()} {$t('cards.community.moderators')} - -
{/snippet} diff --git a/src/lib/components/ui/navbar/commands/CommandItem.svelte b/src/lib/components/ui/navbar/commands/CommandItem.svelte index 86669b8f..ea51d889 100644 --- a/src/lib/components/ui/navbar/commands/CommandItem.svelte +++ b/src/lib/components/ui/navbar/commands/CommandItem.svelte @@ -13,15 +13,14 @@ onclick?: HTMLButtonAttributes['onclick'] } - let { action, class: clazz = '', children, ...rest }: Props = $props() + let { action, children, ...rest }: Props = $props()
{/each} {#if search != ''}