From 5b627879acc8e4574f74fe43206ae5d07658a2a5 Mon Sep 17 00:00:00 2001 From: Jure <44338+hoornet@users.noreply.github.com> Date: Wed, 25 Mar 2026 15:34:19 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20large=20font=20overflow=20on=20Windows=20?= =?UTF-8?q?=E2=80=94=20flex-wrap=20all=20dense=20rows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Feed header, note card header, note actions, compose box, settings theme grid, font size presets, media feed tabs, and profile header buttons all now wrap gracefully when CSS zoom makes content overflow the viewport. Also add AgentDocs fetch instruction to CLAUDE.md. --- CLAUDE.md | 8 ++++++++ src/components/feed/ComposeBox.tsx | 4 ++-- src/components/feed/Feed.tsx | 4 ++-- src/components/feed/NoteActions.tsx | 2 +- src/components/feed/NoteCard.tsx | 2 +- src/components/media/MediaFeed.tsx | 4 ++-- src/components/profile/ProfileView.tsx | 4 ++-- src/components/shared/SettingsView.tsx | 6 +++--- 8 files changed, 21 insertions(+), 13 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 1221319..0f45df3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,6 +6,14 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co Wrystr is a cross-platform Nostr desktop client built with Tauri 2.0 (Rust) + React + TypeScript. It connects to Nostr relays via NDK (Nostr Dev Kit) and aims for Telegram Desktop-quality UX. Long-form content (NIP-23) is a first-class, distinguishing feature — not an afterthought. +## AgentDocs + +When the user shares an AgentDocs URL, fetch the raw content using: +``` +curl https://agentdocs.exe.xyz/api/shared//raw +``` +The `` is the hash at the end of the shared URL. This returns the document as plain text/markdown with embedded image references. + ## Commands ```bash diff --git a/src/components/feed/ComposeBox.tsx b/src/components/feed/ComposeBox.tsx index daff435..fc1417d 100644 --- a/src/components/feed/ComposeBox.tsx +++ b/src/components/feed/ComposeBox.tsx @@ -229,7 +229,7 @@ export function ComposeBox({ onPublished, onNoteInjected }: { onPublished?: () =

{error}

)} -
+
{uploading ? ( @@ -241,7 +241,7 @@ export function ComposeBox({ onPublished, onNoteInjected }: { onPublished?: () = (draft) )} -
+
-
+