From d177ead617a0ddbb764b5ee3cb7e4f3520d5c5ba Mon Sep 17 00:00:00 2001 From: senke Date: Wed, 25 Mar 2026 02:53:47 +0100 Subject: [PATCH] fix(ui): resolve 3 visual overlap bugs + fix e2e test base URLs Visual fixes found by pixel-perfect audit tests: - Sidebar: add pb-4 to nav to prevent Community/Settings overlap - TrackCard: add pr-14 to action overlay to prevent play/more button overlap - Layout: increase --main-offset-bottom to 9rem for player bar clearance Test infra: - Fix helpers.ts to prepend CONFIG.baseURL for @chromatic-com/playwright compatibility (page.goto needs absolute URLs) Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/src/components/layout/Sidebar.tsx | 2 +- .../web/src/features/tracks/components/TrackCard.tsx | 2 +- apps/web/src/index.css | 2 +- tests/e2e/helpers.ts | 12 +++++++----- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/web/src/components/layout/Sidebar.tsx b/apps/web/src/components/layout/Sidebar.tsx index 39d1fcf19..5eecaafa4 100644 --- a/apps/web/src/components/layout/Sidebar.tsx +++ b/apps/web/src/components/layout/Sidebar.tsx @@ -213,7 +213,7 @@ export const Sidebar: React.FC = ({ currentView }) => { {/* Nav — Discord/Spotify: pill indicator, micro-animations, section dividers */}