Clean up relays list a tad

This commit is contained in:
Jonathan Staab 2022-11-28 13:31:12 -08:00
parent a541e375b0
commit 74addf6676
2 changed files with 4 additions and 7 deletions

View File

@ -35,7 +35,7 @@
<div class="flex flex-col gap-8 w-full">
<div class="flex flex-col gap-1">
<strong>Relay URL</strong>
<Input autofocus bind:value={url}>
<Input autofocus bind:value={url} placeholder="wss://relay.example.com">
<i slot="before" class="fa-solid fa-link" />
</Input>
<p class="text-sm text-light">

View File

@ -26,12 +26,9 @@
interact with the network, but you can join as many as you like.
</p>
</div>
<div class="flex gap-4">
<Input bind:value={q} type="text" wrapperClass="flex-grow" placeholder="Type to search">
<i slot="before" class="fa-solid fa-search" />
</Input>
<Anchor type="button" href="/notes">Done</Anchor>
</div>
<Input bind:value={q} type="text" wrapperClass="flex-grow" placeholder="Type to search">
<i slot="before" class="fa-solid fa-search" />
</Input>
<div class="flex flex-col gap-6 overflow-auto flex-grow -mx-6 px-6">
{#each search(q).slice(0, 10) as relay}
<div class="flex gap-2 justify-between">