Skip to content

Commit eea0520

Browse files
committed
polish(web): expanded console output is a rounded grey card (bud parity)
Match bud's expanded console (#53): the terminal output is a rounded grey card below the 'Console' header, not a flat border-top grey pane. Rounded the ConsoleTerminalPane (rounded-[16px] overflow-hidden, dropped border-t) and added gap-1 on the console container so the card sits below the header with a small gap. Verified live: content card -> gap -> 'v Console' header -> rounded grey output card, matching bud.
1 parent a085c73 commit eea0520

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/components/preview/console-strip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export function ConsoleStrip({
200200
return (
201201
<div
202202
className={cn(
203-
"flex shrink-0 flex-col bg-white transition-[height] duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] motion-reduce:transition-none",
203+
"flex shrink-0 flex-col gap-1 bg-white transition-[height] duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] motion-reduce:transition-none",
204204
consoleStripOpen ? "h-[200px]" : "h-[34px]",
205205
)}
206206
>
@@ -331,7 +331,7 @@ function ConsoleTerminalPane({
331331
const commandAfterCursor = command.slice(clampedCursorIndex);
332332

333333
return (
334-
<div className="min-h-0 flex-1 border-[#f1f1f1] border-t bg-[#f5f5f5]">
334+
<div className="min-h-0 flex-1 overflow-hidden rounded-[16px] bg-[#f5f5f5]">
335335
<div className="chat-scrollbar h-full overflow-y-auto px-3 py-2 font-mono text-[#232323] text-[12px] leading-[18px]">
336336
{truncated ? <div className="mb-1 text-[#8a8a8a]">earlier output truncated</div> : null}
337337
{noProcess && lines.length === 0 && entries.length === 0 ? (

0 commit comments

Comments
 (0)