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>
|
</AnimatedConditional>
|
||||||
|
|
||||||
{/* Main Content */}
|
{/* 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
|
<motion.div
|
||||||
initial={{
|
initial={{
|
||||||
width: showLayout ? "100%" : "100vw",
|
width: showLayout ? "100%" : "100vw",
|
||||||
|
|
@ -152,8 +152,8 @@ export function ChatRenderer({
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"h-full bg-background",
|
"h-full bg-background w-full",
|
||||||
showLayout && "p-6 container",
|
showLayout && !isOnChatPage && "p-6 container",
|
||||||
showLayout && isSmallWidthPath && "max-w-[850px] ml-0",
|
showLayout && isSmallWidthPath && "max-w-[850px] ml-0",
|
||||||
!showLayout &&
|
!showLayout &&
|
||||||
"w-full bg-card rounded-lg shadow-2xl p-0 py-2 overflow-y-auto",
|
"w-full bg-card rounded-lg shadow-2xl p-0 py-2 overflow-y-auto",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue