mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 10:57:04 +00:00
Format
This commit is contained in:
@@ -161,7 +161,8 @@
|
||||
<ChatMessage {event} {thunk} {pubkeys} {showPubkey} />
|
||||
{/if}
|
||||
{/each}
|
||||
<p class="flex flex-col gap-4 max-w-sm m-auto text-center h-10 items-center justify-center py-20">
|
||||
<p
|
||||
class="m-auto flex h-10 max-w-sm flex-col items-center justify-center gap-4 py-20 text-center">
|
||||
<Spinner {loading}>
|
||||
{#if loading}
|
||||
Looking for messages...
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
$: failure = Object.entries($status).find(([url, s]) => [Failure, Timeout].includes(s.status))
|
||||
</script>
|
||||
|
||||
<div class="flex justify-end text-xs px-1">
|
||||
<div class="flex justify-end px-1 text-xs">
|
||||
{#if canCancel || isPending}
|
||||
<span class="mt-2 flex items-center gap-1">
|
||||
<span class="loading loading-spinner mx-1 h-3 w-3 translate-y-px" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import {pubkey} from "@welshman/app"
|
||||
import Page from '@lib/components/Page.svelte'
|
||||
import Page from "@lib/components/Page.svelte"
|
||||
import Chat from "@app/components/Chat.svelte"
|
||||
|
||||
$: id = $pubkey!
|
||||
@@ -9,8 +9,8 @@
|
||||
<Page>
|
||||
<Chat {id}>
|
||||
<p slot="info">
|
||||
This is a place for your notes. Everything you write here is encrypted
|
||||
and stored on the nostr network.
|
||||
This is a place for your notes. Everything you write here is encrypted and stored on the nostr
|
||||
network.
|
||||
</p>
|
||||
</Chat>
|
||||
</Page>
|
||||
|
||||
@@ -56,14 +56,14 @@
|
||||
{/if}
|
||||
{#each sortBy(e => -e.created_at, $replies) as reply (reply.id)}
|
||||
<NoteCard event={reply} class="card2 bg-alt z-feature w-full">
|
||||
<div class="ml-12 col-3">
|
||||
<div class="col-3 ml-12">
|
||||
<Content event={reply} />
|
||||
<ThreadActions event={reply} {url} />
|
||||
</div>
|
||||
</NoteCard>
|
||||
{/each}
|
||||
<NoteCard event={$event} class="card2 bg-alt z-feature w-full">
|
||||
<div class="ml-12 col-3">
|
||||
<div class="col-3 ml-12">
|
||||
<Content event={$event} />
|
||||
<ThreadActions event={$event} {url} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user