From 988ea326d9be6f1edcd282c85d8845e83d63ca4f Mon Sep 17 00:00:00 2001 From: YoVinchen Date: Fri, 21 Nov 2025 11:44:33 +0800 Subject: [PATCH] style(ui): improve window dragging and provider card styles --- src-tauri/capabilities/default.json | 3 ++- src/App.tsx | 22 ++++++++++++++-------- src/components/providers/ProviderCard.tsx | 8 ++------ 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 37ad55b..5614cb2 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -10,7 +10,8 @@ "opener:default", "updater:default", "core:window:allow-set-skip-taskbar", + "core:window:allow-start-dragging", "process:allow-restart", "dialog:default" ] -} +} \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index ebd10a5..b32a9ec 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -346,9 +346,13 @@ function App() {
-
+
{currentView !== "providers" ? (