We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need add a ESLint rule that will forbid :hover,:active selectors.
:hover,:active
makeStyles({ root: { // 馃煝 should pass ":hover": { color: "red" }, ":active": { color: "blue" }, // 馃敶 should break ":hover,:active": { color: "blue" }, }, });
For context, #495.
The text was updated successfully, but these errors were encountered:
Possibly as an option, I think it would be helpful to allow comma-separated selectors only if they all include &.
&
makeStyles({ root: { // 馃煝 should pass "&:hover, &:active": { color: "blue" }, // 馃敶 should break ":hover,&:active": { color: "blue" }, }, });
Sorry, something went wrong.
No branches or pull requests
We need add a ESLint rule that will forbid
:hover,:active
selectors.For context, #495.
The text was updated successfully, but these errors were encountered: