diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 762c02e6c..0626184c0 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -17,7 +17,7 @@ "height": 800, "minWidth": 800, "minHeight": 600, - "decorations": true, + "decorations": false, "transparent": false, "resizable": true } diff --git a/src/lib/components/Sidebar.svelte b/src/lib/components/Sidebar.svelte index 569786bec..bd37d9b22 100644 --- a/src/lib/components/Sidebar.svelte +++ b/src/lib/components/Sidebar.svelte @@ -197,7 +197,7 @@ background-color: var(--bg-secondary); display: flex; flex-direction: column; - height: calc(100vh - 104px); + height: calc(100vh - 140px); /* 104px NowPlayingBar + 36px TitleBar */ } .content { diff --git a/src/lib/components/TitleBar.svelte b/src/lib/components/TitleBar.svelte new file mode 100644 index 000000000..009bb1efb --- /dev/null +++ b/src/lib/components/TitleBar.svelte @@ -0,0 +1,123 @@ + + +
+
+ QBZ + QBZ +
+ +
+ + + +
+
+ + diff --git a/src/lib/components/views/LoginView.svelte b/src/lib/components/views/LoginView.svelte index 7f5fdd3af..96bcb816b 100644 --- a/src/lib/components/views/LoginView.svelte +++ b/src/lib/components/views/LoginView.svelte @@ -1,5 +1,6 @@ -
-
+