From 99cf44b04d33c55cfe38707b3ae8fdba92cd23d2 Mon Sep 17 00:00:00 2001
From: Akirami <66513481+A-kirami@users.noreply.github.com>
Date: Wed, 4 Dec 2024 01:23:35 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E6=94=B9=E8=BF=9B=E5=B9=B3?=
=?UTF-8?q?=E5=8F=B0=E7=89=B9=E5=AE=9A=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/AppSidebar.vue | 8 +++-----
src/components/AppTitlebar.vue | 4 ++--
src/layouts/default.vue | 9 ---------
3 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/src/components/AppSidebar.vue b/src/components/AppSidebar.vue
index d6b5495..4615c30 100644
--- a/src/components/AppSidebar.vue
+++ b/src/components/AppSidebar.vue
@@ -1,9 +1,7 @@
@@ -11,7 +9,7 @@ const isMacOs = $computed(() => unref(osType) === 'macos')
class="flex flex-col items-center gap-4 bg-background pb-5"
:class="[
focused ? 'bg-opacity-40 dark:bg-opacity-60' : 'bg-opacity-70 dark:bg-opacity-90',
- isMacOs ? 'pt-8 w-18' : 'pt-7 w-15',
+ osType === 'macos' ? 'pt-8 w-18' : 'pt-7 w-15',
]"
>
diff --git a/src/components/AppTitlebar.vue b/src/components/AppTitlebar.vue
index 8ffcd88..d3efb21 100644
--- a/src/components/AppTitlebar.vue
+++ b/src/components/AppTitlebar.vue
@@ -1,7 +1,7 @@
diff --git a/src/layouts/default.vue b/src/layouts/default.vue
index bd230c7..09ca1c0 100644
--- a/src/layouts/default.vue
+++ b/src/layouts/default.vue
@@ -1,24 +1,15 @@