fix InlineError blank space and ElicitationUrlPanel URL overflow

Only render InlineError details Stack when there is content to show.
Add wrapping Code theme variant for long URLs that would push buttons
offscreen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-03-22 18:49:26 -04:00
commit 4a4818e933

View file

@ -35,7 +35,9 @@ export function ElicitationUrlPanel({
</Text>
<Divider />
<Text size="sm">The server is requesting you visit:</Text>
<Code block>{url}</Code>
<Code block variant="wrapping">
{url}
</Code>
<Group>
<Button variant="light" onClick={onCopyUrl}>
Copy URL