mirror of https://github.com/langgenius/dify.git
fix: update chat wrapper components to use min-h instead of h for better responsiveness (#29687)
This commit is contained in:
parent
4bf6c4dafa
commit
dd58d4a38d
|
|
@ -218,7 +218,7 @@ const ChatWrapper = () => {
|
|||
)
|
||||
}
|
||||
return (
|
||||
<div className={cn('flex h-[50vh] flex-col items-center justify-center gap-3 py-12')}>
|
||||
<div className={cn('flex min-h-[50vh] flex-col items-center justify-center gap-3 py-12')}>
|
||||
<AppIcon
|
||||
size='xl'
|
||||
iconType={appData?.site.icon_type}
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ const ChatWrapper = () => {
|
|||
)
|
||||
}
|
||||
return (
|
||||
<div className={cn('flex h-[50vh] flex-col items-center justify-center gap-3 py-12', isMobile ? 'min-h-[30vh] py-0' : 'h-[50vh]')}>
|
||||
<div className={cn('flex min-h-[50vh] flex-col items-center justify-center gap-3 py-12', isMobile ? 'min-h-[30vh] py-0' : 'h-[50vh]')}>
|
||||
<AppIcon
|
||||
size='xl'
|
||||
iconType={appData?.site.icon_type}
|
||||
|
|
|
|||
Loading…
Reference in New Issue