From 0151d7a16c0ef01b9bed240dd058256804e6c13d 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} -