From 1d5014b7608de98aa896ad4b25f5635264113338 Mon Sep 17 00:00:00 2001 From: Bob Date: Sun, 29 Sep 2024 14:30:51 +0800 Subject: [PATCH] resolve a few minor problems resolve #28, resolve #29, resolve #31 --- src/components/ProblemView.svelte | 62 ++++++++++++++++--------------- src/layouts/MailLayout.svelte | 2 +- src/layouts/MailList.svelte | 12 +++--- 3 files changed, 39 insertions(+), 37 deletions(-) diff --git a/src/components/ProblemView.svelte b/src/components/ProblemView.svelte index 44f70a7..35f2b90 100644 --- a/src/components/ProblemView.svelte +++ b/src/components/ProblemView.svelte @@ -25,55 +25,57 @@

- {#if !preview} - {#key problem.creator} +
+ {#if !preview} + {#key problem.creator} + + +
+ +
+
+ + + +
+ {/key} + {:else if $pubkey}
- +
- {/key} - {:else if $pubkey} - - -
- -
-
- - - -
- {:else} -
User information needs to be displayed after logging in.
- {/if} + {:else} +
User information needs to be displayed after logging in.
+ {/if} +
{#key problem.event} -
+
{/key} diff --git a/src/layouts/MailLayout.svelte b/src/layouts/MailLayout.svelte index a43cd80..71f539f 100644 --- a/src/layouts/MailLayout.svelte +++ b/src/layouts/MailLayout.svelte @@ -3,7 +3,7 @@ - + diff --git a/src/layouts/MailList.svelte b/src/layouts/MailList.svelte index bde72dc..d2fb75b 100644 --- a/src/layouts/MailList.svelte +++ b/src/layouts/MailList.svelte @@ -10,23 +10,23 @@ import Filters from '../components/Filters.svelte'; -
-
-
+
+
+
- -
+ +
{#each items as item}