From 6f1dc79f5df55dc883b7863bf3232f1f23471f4f Mon Sep 17 00:00:00 2001 From: Juliet Date: Fri, 10 Oct 2025 20:02:48 +0200 Subject: [PATCH] restyle account manager --- src/components/account.tsx | 3 +-- src/components/login.tsx | 32 ++++++++++++++++++++------------ src/components/search.tsx | 10 +++++----- 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/src/components/account.tsx b/src/components/account.tsx index d85c5c4..6132251 100644 --- a/src/components/account.tsx +++ b/src/components/account.tsx @@ -69,8 +69,7 @@ const AccountManager = () => { <> setOpenManager(false)}>
-
- +
Manage accounts
diff --git a/src/components/login.tsx b/src/components/login.tsx index 726194e..2ced4e2 100644 --- a/src/components/login.tsx +++ b/src/components/login.tsx @@ -12,7 +12,6 @@ import { type Session, } from "@atcute/oauth-browser-client"; import { createSignal, Show } from "solid-js"; -import { TextInput } from "./text-input"; configureOAuth({ metadata: { @@ -29,6 +28,7 @@ const Login = () => { const login = async (handle: string) => { try { + setNotice(""); if (!handle) return; let resolved; if (!isHandle(handle)) { @@ -58,24 +58,32 @@ const Login = () => { return (
e.preventDefault()}>
-
-
{notice()}
+
{notice()}
); diff --git a/src/components/search.tsx b/src/components/search.tsx index d5a230c..5faef0f 100644 --- a/src/components/search.tsx +++ b/src/components/search.tsx @@ -99,18 +99,18 @@ const Search = () => { -
- + + > setInput(e.currentTarget.value)} /> -- 2.51.2