fix: stretch AI-CAD workspace to viewport
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-04-06 22:32:22 +08:00
parent e8279ead52
commit 8fec20b3be
2 changed files with 2 additions and 2 deletions

View File

@ -3514,7 +3514,7 @@ export function AiCadWorkbench() {
}
return (
<div className="flex min-h-svh flex-col overflow-hidden bg-[#f8f7f3] text-[#201c16]">
<div className="flex h-svh flex-col overflow-hidden bg-[#f8f7f3] text-[#201c16]">
<div className="border-[#e6e0d3] border-b bg-white">
<div className="flex min-h-14 flex-wrap items-center gap-3 px-3 py-2">
<a

View File

@ -75,7 +75,7 @@ export function ChatShell({
}
if (isAiCadWorkspace) {
return <div className="min-h-svh w-full overflow-y-auto">{children}</div>;
return <div className="h-svh w-full overflow-hidden">{children}</div>;
}
return (