Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: wrap long Story Builder titles inside the header (#10695)

Adam Eivy26dc0fd87f30
diff --git a/client/src/pages/StoryBuilder.jsx b/client/src/pages/StoryBuilder.jsx
index 6929da5a50..d3b7a0a8ff 100644
--- a/client/src/pages/StoryBuilder.jsx
+++ b/client/src/pages/StoryBuilder.jsx
@@ -1356,10 +1356,11 @@ function StoryBuilderDetail({ storyId, stepParam }) {
<div className="max-w-5xl mx-auto w-full min-w-0 min-h-0 h-full flex flex-col">
{readNotice}
<header className="mb-3 shrink-0 min-w-0">
- <div>
+ <div className="min-w-0 max-w-full">
<Link to="/story-builder" className="text-xs text-gray-500 hover:text-port-accent">← All stories</Link>
- <h1 className="text-2xl font-bold flex items-center gap-2 mt-1">
- <Sparkles className="w-6 h-6 text-port-accent" /> {session.title}
+ <h1 className="text-2xl font-bold flex items-start gap-2 mt-1 min-w-0">
+ <Sparkles className="w-6 h-6 text-port-accent shrink-0 mt-1" />
+ <span className="min-w-0 [overflow-wrap:anywhere]">{session.title}</span>
</h1>
</div>
</header>