From a042945f5d98b97208ac49a31734fa04cfcfdf35 Mon Sep 17 00:00:00 2001 From: Wind-Explorer Date: Thu, 27 Aug 2026 08:39:59 +0800 Subject: [PATCH] a bit of UI --- src/app.css | 5 +++-- src/routes/control-panel/+page.svelte | 6 +++--- src/routes/control-panel/add/friend/+page.svelte | 7 ------- src/routes/control-panel/add/network/+page.svelte | 8 -------- 4 files changed, 6 insertions(+), 20 deletions(-) diff --git a/src/app.css b/src/app.css index 6dd1581..b239fa2 100644 --- a/src/app.css +++ b/src/app.css @@ -77,6 +77,7 @@ background-color: transparent; } -.pixelated { - image-rendering: pixelated; +button, +input { + @apply btn-sm; } diff --git a/src/routes/control-panel/+page.svelte b/src/routes/control-panel/+page.svelte index 48c157c..c7f2397 100644 --- a/src/routes/control-panel/+page.svelte +++ b/src/routes/control-panel/+page.svelte @@ -77,19 +77,19 @@
-
+
{#each tabs as tab}
diff --git a/src/routes/control-panel/add/friend/+page.svelte b/src/routes/control-panel/add/friend/+page.svelte index a41e932..be6be9a 100644 --- a/src/routes/control-panel/add/friend/+page.svelte +++ b/src/routes/control-panel/add/friend/+page.svelte @@ -44,13 +44,6 @@ onsubmit={submit} >
-
-

Add a friend

-

- Enter the identity your friend shared with you. -

-
- {#if error}{error}{/if}
diff --git a/src/routes/control-panel/add/network/+page.svelte b/src/routes/control-panel/add/network/+page.svelte index c37fef8..02ea6c1 100644 --- a/src/routes/control-panel/add/network/+page.svelte +++ b/src/routes/control-panel/add/network/+page.svelte @@ -60,13 +60,6 @@ onsubmit={submit} >
-
-

Add a server

-

- Configure a remote server used to connect with friends. -

-
- {#if error}{error}{/if}
@@ -103,7 +96,6 @@ inputmode="numeric" placeholder="Default" /> -

Leave port blank to use the server default.