From 9b3783b640152dd3fe686bb0c9cb4f2288c43b23 Mon Sep 17 00:00:00 2001 From: Jure <44338+hoornet@users.noreply.github.com> Date: Thu, 9 Apr 2026 19:27:22 +0200 Subject: [PATCH] =?UTF-8?q?Polish=20pass=2010=20=E2=80=94=20hover=20titles?= =?UTF-8?q?,=20focus=20rings,=20disabled=20states?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - NoteCard: title tooltip on truncated name and NIP-05 - NoteActions: emoji pill buttons dim (opacity-50) while disabled - DMView: title tooltip on truncated conv name; focus ring on send button - RelaysView: title tooltip on truncated relay URL - OnboardingFlow: title tooltips on npub/nsec (nsec only when revealed) - ArticleEditor: visible focus indicator on title and body textareas --- src/components/article/ArticleEditor.tsx | 4 ++-- src/components/dm/DMView.tsx | 4 ++-- src/components/feed/NoteActions.tsx | 2 +- src/components/feed/NoteCard.tsx | 3 ++- src/components/onboarding/OnboardingFlow.tsx | 4 ++-- src/components/shared/RelaysView.tsx | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/article/ArticleEditor.tsx b/src/components/article/ArticleEditor.tsx index c3fe015..959c83d 100644 --- a/src/components/article/ArticleEditor.tsx +++ b/src/components/article/ArticleEditor.tsx @@ -405,7 +405,7 @@ export function ArticleEditor() { value={title} onChange={(e) => setTitle(e.target.value)} placeholder="Title" - className="w-full bg-transparent text-text text-2xl font-bold placeholder:text-text-dim focus:outline-none" + className="w-full bg-transparent text-text text-2xl font-bold placeholder:text-text-dim focus:outline-none focus:border-b focus:border-accent/40" style={{ fontFamily: "var(--font-reading)" }} /> @@ -473,7 +473,7 @@ export function ArticleEditor() { if (Array.from(e.dataTransfer.types).includes("Files")) e.preventDefault(); }} placeholder="Write your article in Markdown… (paste or drop images)" - className="w-full h-full min-h-[400px] bg-transparent text-text text-[14px] leading-relaxed placeholder:text-text-dim resize-none focus:outline-none font-mono" + className="w-full h-full min-h-[400px] bg-transparent text-text text-[14px] leading-relaxed placeholder:text-text-dim resize-none focus:outline-none focus:border-b focus:border-accent/40 font-mono" /> ) : (