mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
fix(review): pointer cursor wins over Pierre's I-beam on hovered and Cmd-held tokens
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user