From 8866438005cdc68272dcc774b6c5589d519546e1 Mon Sep 17 00:00:00 2001 From: Rick Ye Date: Fri, 11 Sep 2026 11:22:59 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=8F=92=E4=BB=B6=E8=A1=8C=E4=B8=89?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E7=BB=9F=E4=B8=80=E8=A1=8C=E5=86=85=E5=B0=8F?= =?UTF-8?q?=E5=8F=B7=E8=A7=84=E6=A0=BC=E2=80=94=E2=80=94=E5=BC=80=E5=85=B3?= =?UTF-8?q?=20h-5=20w-9=E3=80=81=E9=87=8D=E8=BD=BD=E6=8C=89=E9=92=AE=20siz?= =?UTF-8?q?e-5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../desktop/src/renderer/src/components/SettingsModal.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/renderer/src/components/SettingsModal.tsx b/apps/desktop/src/renderer/src/components/SettingsModal.tsx index db5eda0..89e74a4 100644 --- a/apps/desktop/src/renderer/src/components/SettingsModal.tsx +++ b/apps/desktop/src/renderer/src/components/SettingsModal.tsx @@ -800,12 +800,12 @@ function PluginsPanel({ aria-label={`启用${p.manifest.name}`} disabled={togglingId !== null} onClick={() => onToggle(p, !p.enabled)} - className={`relative h-6 w-10 shrink-0 rounded-full transition-colors disabled:cursor-not-allowed disabled:opacity-50 ${ + className={`relative h-5 w-9 shrink-0 rounded-full transition-colors disabled:cursor-not-allowed disabled:opacity-50 ${ p.enabled ? 'bg-accent' : 'bg-line-strong' }`} > @@ -824,9 +824,9 @@ function PluginsPanel({ .catch(() => undefined) .finally(() => setReloading(false)) }} - className="flex size-6 shrink-0 items-center justify-center rounded-control text-ink-3 transition-colors hover:bg-hover hover:text-ink-2 disabled:opacity-50" + className="flex size-5 shrink-0 items-center justify-center rounded-control text-ink-3 transition-colors hover:bg-hover hover:text-ink-2 disabled:opacity-50" > - + )}