From 4227293345d5f8d63544ee225bed0b1d3b375daa Mon Sep 17 00:00:00 2001 From: Gabriel20xx Date: Thu, 20 Aug 2026 17:03:14 +0200 Subject: [PATCH] fix: adjust visited color for profile menu items to maintain consistency --- packages/web-ui/src/lib/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/web-ui/src/lib/styles.css b/packages/web-ui/src/lib/styles.css index 2629f84..de4cfd3 100644 --- a/packages/web-ui/src/lib/styles.css +++ b/packages/web-ui/src/lib/styles.css @@ -188,6 +188,13 @@ cursor: pointer; } +/* The About item falls back to an when no onAbout handler is wired, unlike the other + button-based items - without this, the browser's default a:visited color (higher specificity + than the class color above) makes it drift from the other dropdown items' color once clicked. */ +.sc-profile-menu-item:visited { + color: var(--sc-muted-fg); +} + .sc-profile-menu-item:hover { color: var(--sc-fg); background: var(--sc-surface-hover);