From 616e23021876684a9aa654e1056c8fb958c01fc7 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 25 Aug 2025 23:30:25 +0800 Subject: [PATCH] style: remove window title and adjust header padding for cleaner UI --- src-tauri/tauri.conf.json | 2 +- src/App.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 58b0d7e..036cb29 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -12,7 +12,7 @@ "app": { "windows": [ { - "title": "CC Switch - Claude Code 供应商切换工具", + "title": "", "width": 900, "height": 650, "minWidth": 800, diff --git a/src/App.css b/src/App.css index 0e7c239..054c28f 100644 --- a/src/App.css +++ b/src/App.css @@ -7,12 +7,13 @@ .app-header { background: #3498db; color: white; - padding: 1rem 2rem; + padding: 0.75rem 2rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); user-select: none; + min-height: 3rem; } .app-header h1 {