diff --git a/src/lib/components/lemmy/comment/CommentActions.svelte b/src/lib/components/lemmy/comment/CommentActions.svelte
index 4da8a038..21d3e7cb 100644
--- a/src/lib/components/lemmy/comment/CommentActions.svelte
+++ b/src/lib/components/lemmy/comment/CommentActions.svelte
@@ -57,7 +57,7 @@
size="sm"
class="text-slate-500 dark:text-zinc-400"
onclick={() => (replying = !replying)}
- disabled={comment.post.locked || disabled}
+ disabled={comment.post.locked || disabled || !profile.current.jwt}
>
{$t('comment.reply')}
diff --git a/src/lib/components/lemmy/post/actions/PostActionsMenu.svelte b/src/lib/components/lemmy/post/actions/PostActionsMenu.svelte
index a0773a8a..60b003e3 100644
--- a/src/lib/components/lemmy/post/actions/PostActionsMenu.svelte
+++ b/src/lib/components/lemmy/post/actions/PostActionsMenu.svelte
@@ -75,7 +75,7 @@
share()}
- class={['flex-1', !post.post.local && 'rounded-r-xl']}
+ class={['flex-1', !post.post.local && 'rounded-r-lg']}
>
{#snippet prefix()}
@@ -84,11 +84,11 @@
-
e.stopPropagation()}
- >
- {#if !post.post.local}
+ {#if !post.post.local}
+
e.stopPropagation()}
+ >
- {/if}
-
+
+ {/if}
{#if profile.current?.jwt}
@@ -37,6 +46,7 @@
'flex flex-row items-center gap-2 flex-wrap',
sizes[size],
colors[color],
+ margins[margin],
clazz,
]}
>
@@ -45,7 +55,7 @@
diff --git a/src/lib/components/ui/navbar/commands/CommandItem.svelte b/src/lib/components/ui/navbar/commands/CommandItem.svelte
index ea51d889..01deca98 100644
--- a/src/lib/components/ui/navbar/commands/CommandItem.svelte
+++ b/src/lib/components/ui/navbar/commands/CommandItem.svelte
@@ -21,6 +21,7 @@
alignment="left"
color="none"
size="custom"
+ class="block w-full"
data-sveltekit-preload-code="viewport"
data-sveltekit-preload-data="tap"
{...rest}
@@ -28,21 +29,27 @@
{#if typeof action.icon === 'string'}
{:else}
-
+
{/if}
{@render children?.()}
-
+
{action.name}
{#if action.detail}
{action.detail}
{/if}
-
+
+
{#if action.shortcut}
⌘ {action.shortcut}
{/if}
{#if action.subActions}
-
+
{/if}
diff --git a/src/lib/components/ui/navbar/commands/Commands.svelte b/src/lib/components/ui/navbar/commands/Commands.svelte
index 8e769a5e..f6fcbdb6 100644
--- a/src/lib/components/ui/navbar/commands/Commands.svelte
+++ b/src/lib/components/ui/navbar/commands/Commands.svelte
@@ -13,6 +13,7 @@
import CommandItem from './CommandItem.svelte'
import { fuzzySearch } from '$lib/util.svelte'
import CommonList from '../../layout/CommonList.svelte'
+ import EndPlaceholder from '../../EndPlaceholder.svelte'
interface Props {
open?: boolean
@@ -253,7 +254,7 @@
{#each filteredGroups as group, groupIndex}
-
{group.name}
+
{group.name}
{#each group.actions as action, actionIndex}
{@const globalIndex =
@@ -263,7 +264,8 @@
- {$t('profile.profile')}
+ {$t('profile.profile')}
{#if profile.current?.jwt}
{/if}
- {$t('nav.menu.app')}
+ {$t('nav.menu.app')}
{#if profile.current?.user}
- {$t('content.communities')}
+
+ {$t('content.communities')}
+
{#if profile.current?.user.moderates.length > 0}
diff --git a/src/lib/mono/modal/Modal.svelte b/src/lib/mono/modal/Modal.svelte
index 2fbfda92..a2b15a6e 100644
--- a/src/lib/mono/modal/Modal.svelte
+++ b/src/lib/mono/modal/Modal.svelte
@@ -102,7 +102,7 @@ bg-white/50 dark:bg-black/50 box-border p-4"
dark:border-zinc-900
rounded-3xl max-w-lg box-border mx-auto overscroll-contain shadow-lg overflow-auto
p-5 flex flex-col gap-2 dark:bg-zinc-950
- bg-white relative {clazz}"
+ bg-slate-50 relative {clazz}"
>
{#if dismissable}