made overflow be hidden on main
This commit is contained in:
parent
ba4bf9adc4
commit
ae15ec8b36
1 changed files with 168 additions and 168 deletions
|
|
@ -121,7 +121,7 @@ export function ChatRenderer({
|
|||
</AnimatedConditional>
|
||||
|
||||
{/* Main Content */}
|
||||
<main className="overflow-visible w-full flex items-center justify-center [grid-area:main]">
|
||||
<main className="overflow-hidden w-full flex items-center justify-center [grid-area:main]">
|
||||
<motion.div
|
||||
initial={{
|
||||
width: showLayout ? "100%" : "100vw",
|
||||
|
|
@ -152,8 +152,8 @@ export function ChatRenderer({
|
|||
>
|
||||
<div
|
||||
className={cn(
|
||||
"h-full bg-background",
|
||||
showLayout && "p-6 container",
|
||||
"h-full bg-background w-full",
|
||||
showLayout && !isOnChatPage && "p-6 container",
|
||||
showLayout && isSmallWidthPath && "max-w-[850px] ml-0",
|
||||
!showLayout &&
|
||||
"w-full bg-card rounded-lg shadow-2xl p-0 py-2 overflow-y-auto",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue