Skip to content

0.11.1: pointer cursor on everything clickable - #21

Merged
Hamido212 merged 1 commit into
BricksSnapfrom
claude/funny-planck-6mxikd
Sep 30, 2026
Merged

Hamido212 merged 1 commit into
BricksSnapfrom
claude/funny-planck-6mxikd

Conversation

@Hamido212

Copy link
Copy Markdown
Owner

Suggested on the Bricks forum ("please add cursor: pointer on links").

Cause

Tailwind CSS v4's preflight gives button elements cursor: default. BricksSnap uses buttons for almost every control (nav, tabs, filter chips, style cards, Hide, Add…), so they showed the arrow. Only real <a href> links had the hand.

Change

A base-layer rule in globals.css:

  • Pointer: a[href], enabled button, [role=button], [role=tab], summary, enabled select, labels wrapping an enabled input, and checkbox/radio/color/file inputs get cursor: pointer.
  • Disabled: disabled buttons, selects and inputs get not-allowed.
  • Utilities still win: existing classes such as disabled:cursor-not-allowed apply unchanged.

The changelog also lists the single "Brand kit" heading fix from the previous PR under 0.11.1. Version 0.11.1.

Tests

  • npm test: 242 passed; eslint clean.
  • Computed cursor in the running app: pointer for nav tab, Settings, style card, Hide, Studio tab, filter chip, Add to page, font select, checkbox label and footer link; not-allowed for the disabled "move up" button.

🤖 Generated with Claude Code

https://claude.ai/code/session_01APhfigKq7DMdgedQ4Pr9VK


Generated by Claude Code

Tailwind v4 gives buttons the default arrow, so most controls (tabs,
chips, cards, Hide, Add) looked unclickable. A base rule restores the
pointer for buttons, tabs, summaries, selects, checkbox labels and links,
and shows not-allowed on disabled controls. Changelog also lists the
single Brand kit heading fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01APhfigKq7DMdgedQ4Pr9VK
@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bricks-snap Ready Ready Preview Sep 30, 2026 7:29am UTC

@Hamido212
Hamido212 merged commit 3cf7fdd into BricksSnap Sep 30, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
Preview — 6d028e48 Deployed Sep 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants