From c259d03618a104dd53f47003066ee3e42c88459b Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 30 Jun 2026 19:09:11 -0400 Subject: [PATCH] fix(agent): revert full-width page, grow the Logs section to the bottom Operator meant the LOG section should fill down the viewport (vertical), not the whole page going full-width horizontally. Restore the centered column (820px), make .wrap a full-height flex column, and let the Logs card flex to fill the remaining height to the bottom (drop the fixed 230px log-pane cap). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Ttrj5P7upUTueSfoJcxEqa --- agent/fc_agent/app.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/agent/fc_agent/app.py b/agent/fc_agent/app.py index 6af52b2..138273e 100644 --- a/agent/fc_agent/app.py +++ b/agent/fc_agent/app.py @@ -86,7 +86,8 @@ _PAGE = """ *{box-sizing:border-box} body{font:14px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;margin:0; background:radial-gradient(1200px 600px at 50% -10%,#1a2029,#0f1216);color:var(--fg)} - .wrap{max-width:none;margin:0;padding:28px 28px 48px} + .wrap{max-width:820px;margin:0 auto;padding:28px 20px 28px;min-height:100vh; + display:flex;flex-direction:column} header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px} .brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:700;letter-spacing:.2px} .logo{color:var(--acc);font-size:20px} @@ -138,12 +139,14 @@ _PAGE = """ .banner{margin:0 0 14px;padding:.7rem .9rem;border-radius:10px;background:#3a2f12; border:1px solid #5a4a17;color:#ffd98a;font-size:13px} .logs-h{display:flex;align-items:center;justify-content:space-between} + .grow{flex:1;display:flex;flex-direction:column;min-height:0} + .grow .logs{flex:1;min-height:120px} .copybtn{font:600 11px system-ui;letter-spacing:.04em;text-transform:uppercase; background:#262c34;color:var(--fg);border:1px solid var(--bd);border-radius:7px; padding:5px 11px;cursor:pointer} .copybtn:hover{border-color:var(--acc)} .logs{margin:0;background:#0b0e12;border:1px solid var(--bd);border-radius:10px;padding:12px; - height:230px;overflow:auto;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; + overflow:auto;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; color:#b9c4d0;white-space:pre-wrap;word-break:break-word}
@@ -191,7 +194,7 @@ _PAGE = """
queue —
-
+
Logs