Repository navigation
0.11.1: pointer cursor on everything clickable - #21
Merged
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Suggested on the Bricks forum ("please add
cursor: pointeron links").Cause
Tailwind CSS v4's preflight gives
buttonelementscursor: 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:a[href], enabledbutton,[role=button],[role=tab],summary, enabledselect, labels wrapping an enabled input, and checkbox/radio/color/file inputs getcursor: pointer.not-allowed.disabled:cursor-not-allowedapply 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;eslintclean.pointerfor nav tab, Settings, style card, Hide, Studio tab, filter chip, Add to page, font select, checkbox label and footer link;not-allowedfor the disabled "move up" button.🤖 Generated with Claude Code
https://claude.ai/code/session_01APhfigKq7DMdgedQ4Pr9VK
Generated by Claude Code