mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-13 15:46:22 +00:00
fix: newtab layout (#497)
This commit is contained in:
@@ -97,7 +97,7 @@ export const SidebarLayout: FC = () => {
|
||||
|
||||
{/* Main content - full width, centered */}
|
||||
{location.pathname === '/home/chat' ? (
|
||||
<main className="h-screen overflow-hidden">
|
||||
<main className="relative h-dvh overflow-hidden">
|
||||
<Outlet />
|
||||
</main>
|
||||
) : (
|
||||
|
||||
@@ -131,7 +131,7 @@ export const NewTabChat: FC = () => {
|
||||
if (!selectedProvider) return null
|
||||
|
||||
return (
|
||||
<div className="flex h-full flex-col overflow-hidden">
|
||||
<div className="absolute inset-0 flex flex-col overflow-hidden">
|
||||
<div className="mx-auto w-full max-w-3xl">
|
||||
<ChatHeader
|
||||
selectedProvider={selectedProvider}
|
||||
|
||||
Reference in New Issue
Block a user