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: stop Story Bible drawer from squishing Series Arc text and themes

[._.]/ Adam Eivye700ded844df
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 20b8dc818a..c4eda4d910 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -12,4 +12,6 @@ TBD
## Fixed
+- Series detail page: when the Story Bible drawer is open, the Series Arc + Editorial Roadmap split and the inner text + 260px Themes panel split now respond to the actual content-area width instead of viewport width. Switched to Tailwind v4 container queries — Roadmap drops below Arc when the content area is < 1024px, and Themes stacks below the logline/summary column when the Arc card is < 672px, preventing the text column from being squeezed into an unreadable strip.
+
## Removed
diff --git a/client/src/components/pipeline/ArcCanvas.jsx b/client/src/components/pipeline/ArcCanvas.jsx
index d7aafa8e8a..5925c46e89 100644
--- a/client/src/components/pipeline/ArcCanvas.jsx
+++ b/client/src/components/pipeline/ArcCanvas.jsx
@@ -255,7 +255,7 @@ export default function ArcCanvas({ series, issues, onSeriesUpdate, onIssuesUpda
return (
<div className="space-y-4">
- <div className="grid grid-cols-1 xl:grid-cols-[minmax(0,1.45fr)_minmax(360px,0.55fr)] gap-4 items-start">
+ <div className="grid grid-cols-1 @5xl:grid-cols-[minmax(0,1.45fr)_minmax(360px,0.55fr)] gap-4 items-start">
<ArcHeader
series={series}
onSeriesUpdate={onSeriesUpdate}
@@ -648,7 +648,7 @@ function ArcHeader({ series, onSeriesUpdate, onIssuesUpdate, onFlushPending }) {
};
return (
- <section className="bg-port-card border border-port-border rounded-lg p-4 space-y-3">
+ <section className="@container bg-port-card border border-port-border rounded-lg p-4 space-y-3">
<div className="flex items-center justify-between flex-wrap gap-2">
<h2 className="text-xs uppercase tracking-wider text-gray-500">Series arc</h2>
<div className="flex items-center gap-2 flex-wrap">
@@ -1036,7 +1036,7 @@ function ArcContent({ series, onSeriesUpdate }) {
const shapeDef = arc.shape ? getStoryShape(arc.shape) : null;
return (
- <div className="grid grid-cols-1 lg:grid-cols-[minmax(0,1fr)_260px] gap-4">
+ <div className="grid grid-cols-1 @2xl:grid-cols-[minmax(0,1fr)_260px] gap-4">
<div className="space-y-2 min-w-0">
{arc.logline ? (
<div className="flex items-start gap-2">
diff --git a/client/src/pages/PipelineSeries.jsx b/client/src/pages/PipelineSeries.jsx
index 1d09da5a5e..e325cf7171 100644
--- a/client/src/pages/PipelineSeries.jsx
+++ b/client/src/pages/PipelineSeries.jsx
@@ -190,7 +190,7 @@ export default function PipelineSeries() {
</aside>
)}
- <section className="flex flex-col gap-4 p-4 min-h-0 lg:overflow-y-auto">
+ <section className="@container flex flex-col gap-4 p-4 min-h-0 lg:overflow-y-auto">
<header className={`flex items-center gap-3 flex-wrap ${sidebarCollapsed ? 'lg:pl-8' : ''}`}>
<Link to="/pipeline" className="inline-flex items-center gap-1 text-sm text-gray-400 hover:text-white">
<ArrowLeft size={14} /> All Series