wip: fix ui for macos

This commit is contained in:
2023-10-13 09:12:30 +07:00
parent 893663561d
commit 0777c483e5
5 changed files with 15 additions and 10 deletions

View File

@@ -10,7 +10,12 @@ export function AppLayout() {
const { db } = useStorage();
return (
<div className="flex h-screen w-screen flex-col bg-neutral-50 dark:bg-neutral-950">
<div
className={twMerge(
'flex h-screen w-screen flex-col',
db.platform !== 'macos' ? 'bg-neutral-50 dark:bg-neutral-950' : ''
)}
>
{db.platform !== 'macos' ? (
<WindowTitlebar />
) : (