temp: 适配mac桌面
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user