fix: show pointer cursor on report button#1340
fix: show pointer cursor on report button#1340kevinw-openai wants to merge 1 commit intoopenclaw:mainfrom
Conversation
|
@kevinw-openai is attempting to deploy a commit to the 0xBuns Team on Vercel. A member of the Team first needs to authorize it. |
Greptile SummaryThis PR adds The change is minimal, correctly scoped, and integrates cleanly with the rest of the button styles:
Confidence Score: 5/5This PR is safe to merge — it is a single, correctly implemented CSS property addition with no regressions. The change is a one-line CSS fix that adds the missing No files require special attention.
|
| Filename | Overview |
|---|---|
| src/styles.css | Adds cursor: pointer to the .btn base style; disabled button override (cursor: not-allowed) remains intact and unaffected. |
Reviews (1): Last reviewed commit: "fix: show pointer cursor on report butto..." | Re-trigger Greptile
Why
The skill detail page renders the authenticated
Reportaction as a shared.btn.btn-ghostbutton, but the base.btnstyles did not set a pointer cursor.That made the
Reportbutton show the default arrow on hover instead of the expected hand cursor, which felt broken/inconsistent compared with other interactive controls.The same issue applies to other places whenever
.btnis usedWhat Changed
cursor: pointerto the shared.btnbase style insrc/styles.cssBefore
Reportbutton on the skill detail page showed the default arrow cursorAfter
Reportbutton shows the pointer cursor.btnbase style now also consistently show a pointer cursorcursor: not-allowedruleTesting
bun run test -- src/__tests__/skill-detail-page.test.tsxbun run buildVerification
.btnbutton resolves to"pointer"Reportbutton uses the same shared.btnstyling path on the skill detail page