temp: 适配mac桌面

This commit is contained in:
2024-10-23 20:02:59 +08:00
parent 4e0e149f54
commit a6a47be45f
7 changed files with 107 additions and 11 deletions

View File

@@ -57,14 +57,14 @@ export const LayoutUser = () => {
});
}, [store.me]);
return (
<div className={clsx('w-full h-full absolute z-20', !open && 'hidden')}>
<div className={clsx('w-full h-full absolute z-20 no-drag', !open && 'hidden')}>
<div
className='bg-white w-full absolute h-full opacity-60 z-0'
onClick={() => {
setOpen(false);
}}></div>
<div className='w-[400px] h-full absolute top-0 right-0 bg-white rounded-l-lg'>
<div className='flex justify-between p-6 font-bold items-center border-b'>
<div className='flex justify-between p-6 mt-4 font-bold items-center border-b'>
User: {store.me?.username}
<div className='flex gap-4'>
{items.length > 0 && (