Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit 4680b9d

Browse files
committed
Make gradient background fill entire content height
- Change from h-dvh to min-h-screen on main container - Remove overflow-clip to allow content to expand - Update inner containers to use min-h-screen for proper height - Background gradient now extends with content rather than fixed to viewport - Allows for scrolling when content exceeds viewport height
1 parent ec7f1ff commit 4680b9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/chat-ui/src/components/ChatApp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ const ChatApp: React.FC<ChatAppProps> = () => {
104104

105105
return (
106106
<div
107-
className="flex h-dvh w-screen overflow-clip animated-bg-container"
107+
className="flex min-h-screen w-screen animated-bg-container"
108108
style={{ '--random-delay': `${animationDelay}s` } as React.CSSProperties}
109109
>
110-
<div className="flex flex-row flex-grow flex-1 overflow-hidden relative">
110+
<div className="flex flex-row flex-grow flex-1 min-h-screen relative">
111111
{/* Sidebar and Navbar components hidden but kept in codebase */}
112112
{false && (
113113
<>

examples/chat-ui/src/components/ConversationThread.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const ConversationThread: React.FC<ConversationThreadProps> = ({
171171
console.log({ currentConversation })
172172

173173
return (
174-
<div className={`flex flex-col h-full w-full ${currentConversation.messages.length === 0 ? 'justify-center' : ''}`}>
174+
<div className={`flex flex-col min-h-screen w-full ${currentConversation.messages.length === 0 ? 'justify-center' : ''}`}>
175175
<div
176176
ref={messagesContainerRef}
177177
className={`

0 commit comments

Comments
 (0)