fix: update chat wrapper components to use min-h instead of h for better responsiveness (#29687)

This commit is contained in:
hangboss1761
2025-12-15 21:15:55 +08:00
committed by GitHub
parent 4bf6c4dafa
commit dd58d4a38d
2 changed files with 2 additions and 2 deletions

View File

@@ -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}

View File

@@ -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}