Improve threads navigation
This commit is contained in:
parent
2e6f453abe
commit
a8b7eaf20e
2 changed files with 23 additions and 0 deletions
|
|
@ -124,5 +124,7 @@
|
||||||
{threadStore.loadingMore ? "Loading…" : "Show more"}
|
{threadStore.loadingMore ? "Loading…" : "Show more"}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
{:else if rows.length > 0}
|
||||||
|
<p class="py-6 text-center text-sm text-neutral-400">No more discussions</p>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -283,6 +283,27 @@
|
||||||
<div
|
<div
|
||||||
class="relative z-10 bg-white pb-1 md:sticky md:-top-6 md:-mx-10 md:px-10 md:pt-6 md:-mt-6"
|
class="relative z-10 bg-white pb-1 md:sticky md:-top-6 md:-mx-10 md:px-10 md:pt-6 md:-mt-6"
|
||||||
>
|
>
|
||||||
|
<a
|
||||||
|
href="/"
|
||||||
|
class="mb-1 inline-flex items-center gap-1 text-sm text-neutral-400 hover:text-brand"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
class="h-4 w-4"
|
||||||
|
fill="none"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="1.8"
|
||||||
|
aria-hidden="true"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
d="M15.75 19.5 8.25 12l7.5-7.5"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
Discussions
|
||||||
|
</a>
|
||||||
<h1 class="text-[1.65rem] text-brand leading-7">{detail.title}</h1>
|
<h1 class="text-[1.65rem] text-brand leading-7">{detail.title}</h1>
|
||||||
{#if isScrolled}
|
{#if isScrolled}
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue