diff --git a/components/layout/H5TopBar.tsx b/components/layout/H5TopBar.tsx index 8bb3e93..f3057cb 100644 --- a/components/layout/H5TopBar.tsx +++ b/components/layout/H5TopBar.tsx @@ -280,16 +280,14 @@ export default function H5TopBar({ onSelectHomeTab }: H5TopBarProps) { height={undefined} bodyStyle={{ padding: 0 }} maskClosable - zIndex={59} // 64px 顶栏高度 + 8px 安全间距 - maskStyle={{ position: 'absolute', top: '4rem', height: 'calc(100dvh - 4rem)', backgroundColor: 'transparent' }} + maskStyle={{ position: 'absolute', top: '3.5rem', height: 'calc(100dvh - 3.5rem)', backgroundColor: 'transparent' }} styles={{ - content: { position: 'absolute', top: '4rem', height: isHome ? 'auto' : 'calc(100dvh - 4rem)' }, + content: { position: 'absolute', top: '3.5rem', height: isHome ? 'auto' : 'calc(100dvh - 3.5rem)' }, body: { padding: 0 }, header: { display: 'none' }, - mask: { position: 'absolute', top: '4rem', height: 'calc(100dvh - 4rem)', backgroundColor: 'transparent' }, + mask: { position: 'absolute', top: '3.5rem', height: 'calc(100dvh - 3.5rem)', backgroundColor: 'transparent' }, }} - rootStyle={{ zIndex: 59 }} className="[&_.ant-drawer-content]:bg-white [&_.ant-drawer-content]:text-black dark:[&_.ant-drawer-content]:bg-[#0b0b0b] dark:[&_.ant-drawer-content]:text-white dark:[&_.ant-drawer-body]:bg-[#0b0b0b] dark:[&_.ant-drawer-body]:text-white" >