@spunto/design-system 0.30.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -204,18 +204,22 @@ export function TaskCockpit({
|
|
|
204
204
|
)}
|
|
205
205
|
</div>
|
|
206
206
|
|
|
207
|
-
{/* ── Body: the session owns the room, the facts sit beside it ──
|
|
208
|
-
|
|
207
|
+
{/* ── Body: the session owns the room, the facts sit beside it ──
|
|
208
|
+
Side by side from 42rem of *cockpit* width, not 64rem: next to the org-wide list on a
|
|
209
|
+
laptop (1512 px screen − app sidebar − 320 px list ≈ 936 px) the cockpit is well under
|
|
210
|
+
64rem, and stacking there dropped the facts under the fold on the most common desktop.
|
|
211
|
+
The column narrows instead (288 → 320 → 384 px), so the session keeps ≥ 384 px. */}
|
|
212
|
+
<div className="flex min-h-0 flex-1 flex-col overflow-hidden @min-[42rem]:flex-row">
|
|
209
213
|
{/* `min-w-0` is load-bearing: a flex child's default min-width is its *content*, and this
|
|
210
214
|
column holds long mono lines and <pre> blocks. Without it the column refuses to shrink
|
|
211
215
|
and pushes the details column past the edge, where `overflow-hidden` clips it. */}
|
|
212
|
-
<div className="flex min-h-[280px] min-w-0 flex-1 flex-col border-border @min-[
|
|
216
|
+
<div className="flex min-h-[280px] min-w-0 flex-1 flex-col border-border @min-[42rem]:border-r">
|
|
213
217
|
{view === "diff" && diff ? diff(tabs) : session(tabs)}
|
|
214
218
|
{composer}
|
|
215
219
|
</div>
|
|
216
220
|
|
|
217
221
|
{details && (
|
|
218
|
-
<aside className="max-h-[40%] w-full shrink-0 overflow-y-auto border-t border-border bg-card/40 @min-[
|
|
222
|
+
<aside className="max-h-[40%] w-full shrink-0 overflow-y-auto border-t border-border bg-card/40 @min-[42rem]:max-h-none @min-[42rem]:w-72 @min-[42rem]:border-t-0 @min-[64rem]:w-80 @min-[80rem]:w-96">
|
|
219
223
|
{details}
|
|
220
224
|
</aside>
|
|
221
225
|
)}
|