mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-11-01 07:02:30 +00:00
Cap the failure message's height in the banner
The output block was capped at max-h-48 but the verbatim message wasn't, so a long stack trace or cause chain could push the tabs out of view in the full-height sandbox and terminal layouts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
aed46202b0
commit
6e7b75c0df
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export function RunFailureBanner({ failure }: { failure: RunFailureView }) {
|
|||
<dt className="mb-1 font-mono text-[0.6875rem] tracking-wide text-fg-muted uppercase">
|
||||
{failure.provider ? "Provider message" : "Message"}
|
||||
</dt>
|
||||
<dd className="rounded-md bg-overlay px-3 py-2 font-mono text-xs/5 wrap-break-word whitespace-pre-wrap text-fg-3">
|
||||
<dd className="max-h-48 overflow-auto rounded-md bg-overlay px-3 py-2 font-mono text-xs/5 wrap-break-word whitespace-pre-wrap text-fg-3">
|
||||
{failure.message}
|
||||
</dd>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue