mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 13:31:32 +08:00
style(video): fix layout overflow issues by adding overflow-hidden
Add overflow-hidden to content containers to prevent unwanted scrolling and improve layout consistency
This commit is contained in:
parent
3e9a1378ce
commit
2015b2e58c
@ -130,7 +130,7 @@ export const VideoPage = () => {
|
||||
<Navbar>
|
||||
<NavbarCenter style={{ borderRight: 'none' }}>{t('video.title')}</NavbarCenter>
|
||||
</Navbar>
|
||||
<div id="content-container" className="flex max-h-full flex-1">
|
||||
<div id="content-container" className="flex flex-1 overflow-hidden">
|
||||
{/* Settings */}
|
||||
<div className="flex w-70 flex-col p-2">
|
||||
<SettingsGroup>
|
||||
|
||||
@ -229,7 +229,7 @@ export const VideoPanel = ({ provider, video, params, updateParams }: VideoPanel
|
||||
}, [handleUploadFile, inputReference, isPending, t, updateParams])
|
||||
|
||||
return (
|
||||
<div className="flex flex-1 flex-col p-2">
|
||||
<div className="flex flex-1 flex-col overflow-hidden p-2">
|
||||
<div className="m-8 flex-1 overflow-hidden">
|
||||
<Skeleton className="h-full w-full rounded-2xl" classNames={{ content: 'h-full w-full' }} isLoaded={true}>
|
||||
{video && <VideoViewer video={video} onDownload={handleDownloadVideo} onRegenerate={handleRegenerateVideo} />}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user