fix: always make endplaceholder horizontal
This commit is contained in:
1 parent
fe7898fa3c
commit
8a865b2ba1
2 files changed
+9
-8
No files matched your search
@@ -1,10 +1,11 @@
|
||||
<div
|
||||
class="flex flex-col sm:flex-row items-center
|
||||
text-sm text-slate-600 dark:text-zinc-400 gap-2"
|
||||
class="flex flex-row items-center
|
||||
text-sm text-slate-600 dark:text-zinc-400 gap-2 flex-wrap {$$props.class ||
|
||||
''}"
|
||||
>
|
||||
<span class="font-medium text-center sm:text-left">
|
||||
<span class="font-medium text-left">
|
||||
<slot />
|
||||
</span>
|
||||
<hr class="border-slate-200 sm:flex-1 w-full dark:border-zinc-800" />
|
||||
<hr class="border-slate-200 flex-1 w-full dark:border-zinc-800" />
|
||||
<slot name="action" />
|
||||
</div>
|
||||
@@ -294,8 +294,8 @@
|
||||
{#if data.thread.showContext || data.thread.singleThread}
|
||||
<div
|
||||
class="sticky mx-auto z-50 max-w-lg w-full min-w-0 flex items-center overflow-auto gap-1
|
||||
bg-slate-50/50 dark:bg-zinc-900/50 backdrop-blur-xl border border-slate-100/50 dark:border-zinc-800/50
|
||||
p-1 rounded-full px-2 justify-between"
|
||||
bg-slate-50/50 dark:bg-zinc-900/50 backdrop-blur-xl border border-slate-200/50 dark:border-zinc-800/50
|
||||
p-1 rounded-full px-2.5 justify-between"
|
||||
style="top: max(1.5rem, {$contentPadding.top}px);"
|
||||
>
|
||||
<p class="font-medium text-sm flex items-center gap-2">
|
||||
@@ -312,7 +312,7 @@
|
||||
href={data.thread.showContext
|
||||
? `/comment/${$page.params.instance}/${data.thread.showContext}`
|
||||
: undefined}
|
||||
class="hover:bg-slate-200/30 dark:hover:bg-zinc-800/30"
|
||||
class="hover:bg-white/50 dark:hover:bg-zinc-800/30"
|
||||
on:click={data.thread.singleThread ? reloadComments : undefined}
|
||||
>
|
||||
{data.thread.showContext
|
||||
@@ -343,7 +343,7 @@
|
||||
{:then comments}
|
||||
{#if $profile?.jwt}
|
||||
{#if !commenting}
|
||||
<EndPlaceholder>
|
||||
<EndPlaceholder class="">
|
||||
<Button
|
||||
rounding="pill"
|
||||
class="mx-auto"
|
||||
|
||||
Reference in new issue
Block a user