feat: update layout styles and iframe source for improved UI consistency

This commit is contained in:
2026-02-22 04:24:09 +08:00
parent 984f39bf3c
commit 5cb02f44b2
3 changed files with 34 additions and 23 deletions

View File

@@ -61,13 +61,13 @@ export const LayoutMain = (props: LayoutMainProps) => {
}, []);
return (
<div className='flex gap-2 text-lg w-full relative'>
<div className='flex gap-2 text-lg w-full h-12 items-center'>
<div
className={clsx('layout-menu items-center w-full', !mount && 'invisible!')}
className={clsx('layout-menu items-center bg-gray-200 w-full h-full', !mount && 'invisible!')}
style={{
cursor: isElectron ? 'move' : 'default',
}}>
<div className='flex grow justify-between pl-4 py-2 items-center bg-gray-200'>
<div className='flex grow justify-between pl-4 py-2 items-center '>
<div className='flex items-center gap-2'>
<div className='text-xl font-bold '>{props.title}</div>
<div className='flex items-center gap-2 text-sm '>