From a7dc1ba0ff705b981d35afc822c3fc4df34f63af Mon Sep 17 00:00:00 2001 From: ddidderr Date: Thu, 21 May 2026 19:29:31 +0200 Subject: [PATCH] style(ui): match game-folder topbar design Follow the latest top-bar spec for the Game Folder control. The button stays as only the folder icon and short label, with the full path in tooltip and aria text, and now sits in the app-level control group with the kebab menu on the far-right edge of the wide top bar. This keeps Sort as the right-zone lead control next to the centered search cluster while treating Game Folder and the kebab menu as a tight trailing pair. The narrow fallback still flows in source order: sort, game folder, kebab. Test Plan: - git diff --check - rg -n "dirbtn-status-dot|status dot|green status|red status" crates/lanspread-tauri-deno-ts/src - just frontend-test - just build --- .../src/components/topbar/DirectoryButton.tsx | 1 - .../src/components/topbar/TopBar.tsx | 6 +++-- .../src/styles/launcher.css | 23 ++++++------------- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/crates/lanspread-tauri-deno-ts/src/components/topbar/DirectoryButton.tsx b/crates/lanspread-tauri-deno-ts/src/components/topbar/DirectoryButton.tsx index 555ccd2..881218b 100644 --- a/crates/lanspread-tauri-deno-ts/src/components/topbar/DirectoryButton.tsx +++ b/crates/lanspread-tauri-deno-ts/src/components/topbar/DirectoryButton.tsx @@ -23,7 +23,6 @@ export const DirectoryButton = ({ path, exists, onClick }: Props) => { > {label} -