From fe8010cb8000b0748fdbc789ebe155ef4f0b6179 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Tue, 25 Aug 2026 02:57:12 -0800 Subject: [PATCH] make nav bar bigger --- Justfile | 15 +++++++++++++++ desktop/src-tauri/src/lib.rs | 2 +- desktop/src/toolbar.html | 20 ++++++++++---------- 3 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 Justfile diff --git a/Justfile b/Justfile new file mode 100644 index 00000000..70e856b4 --- /dev/null +++ b/Justfile @@ -0,0 +1,15 @@ +# Quintodrome desktop app + +# Run the desktop app (builds the Navidrome sidecar, then `cargo run`). +# Requires Go >= 1.26 and Node >= 24 (see .nvmrc) for the sidecar build. +run: + ./desktop/scripts/build.sh --skip-tauri + cd desktop/src-tauri && cargo run + +# Build the packaged .app (desktop/src-tauri/target/release/bundle/). +bundle: + ./desktop/scripts/build.sh + +# Build only the Navidrome sidecar binary. +sidecar: + ./desktop/scripts/build.sh --skip-tauri diff --git a/desktop/src-tauri/src/lib.rs b/desktop/src-tauri/src/lib.rs index 45bfb1ba..0795a315 100644 --- a/desktop/src-tauri/src/lib.rs +++ b/desktop/src-tauri/src/lib.rs @@ -6,7 +6,7 @@ use tauri::{ WindowEvent, }; -const TOOLBAR_HEIGHT: f64 = 44.0; +const TOOLBAR_HEIGHT: f64 = 60.0; #[tauri::command] fn back(app: tauri::AppHandle) { diff --git a/desktop/src/toolbar.html b/desktop/src/toolbar.html index 1b748867..df9cf582 100644 --- a/desktop/src/toolbar.html +++ b/desktop/src/toolbar.html @@ -17,8 +17,8 @@ height: 100vh; display: flex; align-items: center; - gap: 6px; - padding: 0 8px; + gap: 8px; + padding: 0 10px; background: #232329; border-bottom: 1px solid #34343c; font-family: system-ui, -apple-system, sans-serif; @@ -27,13 +27,13 @@ overflow: hidden; } button { - width: 32px; - height: 32px; + width: 42px; + height: 42px; border: none; - border-radius: 6px; + border-radius: 8px; background: transparent; color: #d4d4d8; - font-size: 18px; + font-size: 22px; line-height: 1; cursor: pointer; flex: none; @@ -46,13 +46,13 @@ } #url { flex: 1; - height: 32px; - padding: 0 12px; + height: 42px; + padding: 0 16px; border: 1px solid #34343c; - border-radius: 16px; + border-radius: 21px; background: #1b1b1f; color: #e4e4e7; - font-size: 13px; + font-size: 15px; outline: none; min-width: 0; }