mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
fix(web): balance top and bottom padding in stage renderer area
The outer scroll container had pt-2 with pb-[calc(1.5rem+dock)], so content sat ~8px below the tab toolbar but ~24px above the dock — visibly off. Each new renderer also re-applied its own pt-2, doubling the top spacing. Bump the outer pt to pt-6 so it matches the 24px baseline bottom, and drop the duplicated pt-2 from every renderer wrapper. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8b4442096d
commit
06277c79f5
8 changed files with 8 additions and 8 deletions
|
|
@ -47,7 +47,7 @@ export function ConditionalDecision({
|
|||
}, [allStages, edge]);
|
||||
|
||||
return (
|
||||
<div className="space-y-6 pl-3 pr-4 pt-2 sm:pr-6 lg:pr-8">
|
||||
<div className="space-y-6 pl-3 pr-4 sm:pr-6 lg:pr-8">
|
||||
<StageMetaBar stage={stage} />
|
||||
|
||||
<section className="rounded-lg bg-panel p-6 outline-1 -outline-offset-1 outline-line">
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ export function FanInResults({
|
|||
);
|
||||
|
||||
return (
|
||||
<div className="space-y-6 pl-3 pr-4 pt-2 sm:pr-6 lg:pr-8">
|
||||
<div className="space-y-6 pl-3 pr-4 sm:pr-6 lg:pr-8">
|
||||
<StageMetaBar
|
||||
stage={stage}
|
||||
trailing={
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ export function HumanQA({
|
|||
const pendingCount = pairs.filter((p) => p.resolution == null).length;
|
||||
|
||||
return (
|
||||
<div className="space-y-6 pl-3 pr-4 pt-2 sm:pr-6 lg:pr-8">
|
||||
<div className="space-y-6 pl-3 pr-4 sm:pr-6 lg:pr-8">
|
||||
<StageMetaBar
|
||||
stage={stage}
|
||||
trailing={
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export function ManagerLoopSummary({
|
|||
const cycleHint = notes ?? null;
|
||||
|
||||
return (
|
||||
<div className="space-y-6 pl-3 pr-4 pt-2 sm:pr-6 lg:pr-8">
|
||||
<div className="space-y-6 pl-3 pr-4 sm:pr-6 lg:pr-8">
|
||||
<StageMetaBar stage={stage} />
|
||||
|
||||
<section className="rounded-lg bg-panel p-5 outline-1 -outline-offset-1 outline-line">
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ export function ParallelChildren({
|
|||
: [];
|
||||
|
||||
return (
|
||||
<div className="space-y-6 pl-3 pr-4 pt-2 sm:pr-6 lg:pr-8">
|
||||
<div className="space-y-6 pl-3 pr-4 sm:pr-6 lg:pr-8">
|
||||
<StageMetaBar
|
||||
stage={stage}
|
||||
trailing={
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ export function StageSummary({
|
|||
const categories = summarizeEventCategories(events);
|
||||
|
||||
return (
|
||||
<div className="space-y-6 pl-3 pr-4 pt-2 sm:pr-6 lg:pr-8">
|
||||
<div className="space-y-6 pl-3 pr-4 sm:pr-6 lg:pr-8">
|
||||
<StageMetaBar stage={stage} />
|
||||
|
||||
<dl className="grid grid-cols-[max-content_1fr] gap-x-6 gap-y-2 text-sm">
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export function WaitStatus({ stage }: { stage: Stage }) {
|
|||
const label = isActive ? "Waiting" : "Wait complete";
|
||||
|
||||
return (
|
||||
<div className="space-y-6 pl-3 pr-4 pt-2 sm:pr-6 lg:pr-8">
|
||||
<div className="space-y-6 pl-3 pr-4 sm:pr-6 lg:pr-8">
|
||||
<StageMetaBar stage={stage} />
|
||||
|
||||
<section className="flex items-center justify-center rounded-lg bg-panel py-12 outline-1 -outline-offset-1 outline-line">
|
||||
|
|
|
|||
|
|
@ -1298,7 +1298,7 @@ export default function RunStages() {
|
|||
)}
|
||||
</div>
|
||||
</div>
|
||||
<div className="min-h-0 flex-1 overflow-y-auto pt-2 pb-[calc(1.5rem+var(--fabro-interview-dock-clearance,0px))]">
|
||||
<div className="min-h-0 flex-1 overflow-y-auto pt-6 pb-[calc(1.5rem+var(--fabro-interview-dock-clearance,0px))]">
|
||||
{effectiveTab === "primary" ? (
|
||||
renderer === "agent" ? (
|
||||
turns.length > 0 && filteredTurns.length === 0 ? (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue