Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply pointer cursor to labels with a for attribute #59

Closed
chris-pearce opened this issue Mar 29, 2020 · 1 comment
Closed

Apply pointer cursor to labels with a for attribute #59

chris-pearce opened this issue Mar 29, 2020 · 1 comment
Assignees
Labels
lib: forms 🎒 Everything related to the lib's "Forms" section. new-feature ✨ Use this when you have a new feature request. next-major-version ✨ Use this to mark items for the next major version

Comments

@chris-pearce
Copy link
Owner

This is a standard treatment. To be added to forms.css.

/**
 * Indicates that a label will shift focus to its associated control.
 */

label[for] {
  cursor: pointer;
}
@chris-pearce chris-pearce added new-feature ✨ Use this when you have a new feature request. lib: forms 🎒 Everything related to the lib's "Forms" section. labels Mar 29, 2020
@chris-pearce chris-pearce self-assigned this Mar 29, 2020
@chris-pearce chris-pearce added the next-major-version ✨ Use this to mark items for the next major version label Apr 4, 2020
@chris-pearce chris-pearce changed the title Apply pointer cursor to labels with a for attribute Apply pointer cursor to labels with a for attribute May 2, 2020
@chris-pearce
Copy link
Owner Author

chris-pearce commented Nov 17, 2020

Fixed in #73.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib: forms 🎒 Everything related to the lib's "Forms" section. new-feature ✨ Use this when you have a new feature request. next-major-version ✨ Use this to mark items for the next major version
Projects
None yet
Development

No branches or pull requests

1 participant