Skip to content

Unexpected unknown type selector "disabled" in _avatar.scss #7224

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

Closed
McLaynV opened this issue Nov 20, 2024 · 0 comments · Fixed by #7227
Closed

Unexpected unknown type selector "disabled" in _avatar.scss #7224

McLaynV opened this issue Nov 20, 2024 · 0 comments · Fixed by #7227

Comments

@McLaynV
Copy link
Contributor

McLaynV commented Nov 20, 2024

&.b-avatar:hover:not(.disabled):not(disabled) {

The src/components/avatar/_avatar.scss file contains

  a,
  .btn {
    &.b-avatar:hover:not(.disabled):not(disabled) {
      z-index: 1;
    }
  }

and disabled is not a valid selector in :not(disabled).

I believe it should be :not([disabled]) which means "element does not have the disabled attribute".

  a,
  .btn {
    &.b-avatar:hover:not(.disabled):not([disabled]) {
      z-index: 1;
    }
  }
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 a pull request may close this issue.

1 participant