feat: polish

This commit is contained in:
2024-01-13 20:24:52 +07:00
parent 72870bb131
commit ab27bd5f44
11 changed files with 70 additions and 64 deletions

View File

@@ -13,7 +13,7 @@ export function AppLayout({ platform }: { platform: Platform }) {
platform !== "macos" ? "bg-blue-50 dark:bg-blue-950" : "",
)}
>
{platform !== "macos" ? (
{platform === "windows" ? (
<WindowTitleBar platform={platform} />
) : (
<div data-tauri-drag-region className="h-9 shrink-0" />

View File

@@ -11,7 +11,7 @@ export function AuthLayout({ platform }: { platform: Platform }) {
return (
<div className="flex flex-col w-screen h-screen bg-black text-neutral-50">
{platform !== "macos" ? (
{platform === "windows" ? (
<WindowTitleBar platform={platform} />
) : (
<div data-tauri-drag-region className="h-9 shrink-0" />