From 2b243b311157e9e86132d32c5a30449b94c72db3 Mon Sep 17 00:00:00 2001 From: le king fu Date: Sun, 15 Nov 2026 17:18:00 -0500 Subject: [PATCH] style(web): fewer layout classes new to the site on the assistants page (#205) The value of a new token sits in a paragraph instead of a block-level code element, and the connection helps space their content with the class the other blocks use. Co-Authored-By: Claude Fable 5.2 --- web/src/components/AssistantsConnect.tsx | 4 ++-- web/src/components/AssistantsCreated.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/components/AssistantsConnect.tsx b/web/src/components/AssistantsConnect.tsx index 3506e69..1284cf7 100644 --- a/web/src/components/AssistantsConnect.tsx +++ b/web/src/components/AssistantsConnect.tsx @@ -43,9 +43,9 @@ function Template({ text }: { text: string }) { function Help({ title, children }: { title: string; children: React.ReactNode }) { return ( -
+
{title} -
{children}
+
{children}
); } diff --git a/web/src/components/AssistantsCreated.tsx b/web/src/components/AssistantsCreated.tsx index e105302..ab81327 100644 --- a/web/src/components/AssistantsCreated.tsx +++ b/web/src/components/AssistantsCreated.tsx @@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next"; export function AssistantsCreated({ token }: { token: string }) { const { t } = useTranslation(); const [copied, setCopied] = useState(false); - const value = useRef(null); + const value = useRef(null); const copy = async () => { try { @@ -31,9 +31,9 @@ export function AssistantsCreated({ token }: { token: string }) {

{t("assistants.created.heading")}

{/* One tap selects the whole value (select-all); it wraps instead of widening the page. */} - +

{token} - +

{t("assistants.created.once")}