fix(review): pointer cursor wins over Pierre's I-beam on hovered and Cmd-held tokens

This commit is contained in:
Michael Ramos
2026-09-02 22:33:02 -07:00
parent 51e85d5abc
commit eebab5194a
2 changed files with 5 additions and 2 deletions
@@ -24,7 +24,7 @@ export function tokenHoverUnderlineCss(primaryColor: string): string {
text-decoration-color: ${primaryColor};
text-decoration-thickness: ${UNDERLINE.textDecorationThickness};
text-underline-offset: ${UNDERLINE.textUnderlineOffset};
cursor: pointer;`;
cursor: pointer !important;`;
}
/**
@@ -279,7 +279,10 @@ export function usePierreTheme(options?: {
}
.pn-token-nav {
text-decoration-thickness: 2px;
cursor: pointer;
/* Pierre's [data-*] selectors outrank a bare class inside the
shadow root, so the pointer needs the same !important the
neighboring overrides use, or the I-beam wins. */
cursor: pointer !important;
opacity: 0.85;
}