Skip to content

Commit 67c66b9

Browse files
GeneralJerelclaude
andcommitted
fix: resolve chat input pill and header clipping in glass container
Make brand-glass-container a flex column so the header banner and chat content stack properly without overflowing. Use flex-1 + min-h-0 on the layout wrapper so the chat area fills remaining space and can shrink below its content size. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2533482 commit 67c66b9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

apps/app/src/app/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ body, html {
302302
box-shadow: var(--shadow-glass);
303303
flex: 1;
304304
overflow: hidden;
305+
display: flex;
306+
flex-direction: column;
305307
}
306308

307309
@media (max-width: 768px) {

apps/app/src/components/example-layout/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export function ExampleLayout({
1010
chatContent,
1111
}: ExampleLayoutProps) {
1212
return (
13-
<div className="h-full flex flex-row">
13+
<div className="flex-1 min-h-0 flex flex-row">
1414
{/* Chat Content */}
15-
<div className="max-h-full overflow-y-auto flex-1 max-lg:px-4">
15+
<div className="h-full flex-1 max-lg:px-4">
1616
{chatContent}
1717
</div>
1818
</div>

0 commit comments

Comments
 (0)