diff --git a/src/lib/components/lemmy/community/CommunityHeader.svelte b/src/lib/components/lemmy/community/CommunityHeader.svelte index 4580cfd3..fcd71196 100644 --- a/src/lib/components/lemmy/community/CommunityHeader.svelte +++ b/src/lib/components/lemmy/community/CommunityHeader.svelte @@ -68,8 +68,8 @@ {#if moderators.length > 0} diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index 13099400..53bb1a54 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -166,6 +166,7 @@ body={post.post.body} {view} style="grid-area: body" + class="relative" /> {/if} {#if actions} diff --git a/src/lib/components/lemmy/post/PostBody.svelte b/src/lib/components/lemmy/post/PostBody.svelte index 4e9789f0..d808b963 100644 --- a/src/lib/components/lemmy/post/PostBody.svelte +++ b/src/lib/components/lemmy/post/PostBody.svelte @@ -47,9 +47,9 @@ ${view == 'list' ? `max-h-24` : 'max-h-48'}` on:click={() => (expanded = !expanded)} size="square-sm" color="tertiary" - class="text-black dark:text-white absolute z-10 isolate drop-shadow-xl pointer-events-auto {expanded - ? 'bottom-6' - : 'bottom-16'} left-1/2 -translate-x-1/2" + class="text-black dark:text-white absolute z-10 isolate pointer-events-auto bottom-0 {expanded + ? 'bg-slate-200/50 dark:bg-zinc-900 border shadow-md' + : ''} left-1/2 -translate-x-1/2 mb-4" title="Expand" >