From 7726d1b9f8768f70a1f4c3756a9a87743fa88fe5 Mon Sep 17 00:00:00 2001 From: Thomas Petersen Date: Tue, 23 Jun 2026 16:11:03 -0400 Subject: [PATCH] Tighten history button spacing Co-authored-by: Thomas Petersen Signed-off-by: Thomas Petersen --- desktop/playwright.config.ts | 1 + desktop/src/app/AppTopChrome.tsx | 6 ++- .../e2e/history-icons-screenshots.spec.ts | 45 +++++++++++++++++++ 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 desktop/tests/e2e/history-icons-screenshots.spec.ts diff --git a/desktop/playwright.config.ts b/desktop/playwright.config.ts index 7f7ccce4fd..bd244110f1 100644 --- a/desktop/playwright.config.ts +++ b/desktop/playwright.config.ts @@ -45,6 +45,7 @@ export default defineConfig({ "**/identity-archive.spec.ts", "**/identity-archive-hide.spec.ts", "**/relay-connectivity-screenshots.spec.ts", + "**/history-icons-screenshots.spec.ts", "**/unread-pill-screenshots.spec.ts", "**/sidebar-more-unread-overlap.spec.ts", "**/thread-unread-screenshots.spec.ts", diff --git a/desktop/src/app/AppTopChrome.tsx b/desktop/src/app/AppTopChrome.tsx index 256bd8d8e3..6ecb6fca9c 100644 --- a/desktop/src/app/AppTopChrome.tsx +++ b/desktop/src/app/AppTopChrome.tsx @@ -21,6 +21,8 @@ type AppTopChromeProps = { const TOP_CHROME_ICON_BUTTON_CLASS = "h-7 w-7 rounded-[4px] text-muted-foreground/70 hover:bg-border/45 hover:text-foreground [&_svg]:size-4"; +const HISTORY_ICON_BUTTON_CLASS = + "h-7 w-6 rounded-[4px] text-muted-foreground/70 hover:bg-border/45 hover:text-foreground [&_svg]:size-4"; const TOP_CHROME_WHEEL_GUARD_HEIGHT = 40; function TopChromeSidebarTrigger() { @@ -91,7 +93,7 @@ export function AppTopChrome({