Skip to content

Conversation

@adamwathan
Copy link
Member

Resolves #5768.

This PR adds the following CSS to Preflight:

:disabled {
  cursor: default;
}

This ensures that even though we reset buttons to use the pointer cursor, disabled buttons use the browser default which does less to communicate the button being interactive and makes more sense when the element can't actually be clicked.

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.

Preflight base styles is setting cursor:pointer by default on disabled buttons

2 participants