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);