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

[CSS, SCSS, SASS] Wrong syntax highlight for @container queries #409

Open
Profesor08 opened this issue Oct 17, 2024 · 0 comments
Open

[CSS, SCSS, SASS] Wrong syntax highlight for @container queries #409

Profesor08 opened this issue Oct 17, 2024 · 0 comments

Comments

@Profesor08
Copy link

When I use @container queries, they broke syntax highlight for entire block

Image

Code example

.container {
  display: grid;
  align-content: start;
  gap: 2px;

  @container (min-width: 345px) {
    grid-template-columns: 1fr 1fr;
  }

  @container (min-width: 345px) {
    grid-template-columns: 1fr 1fr;
  }

  @container (min-width: 345px) {
    .item {
      color: red;
    }
  }

  @media (min-width: 345px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (min-width: 345px) {
    .item {
      color: red;
    }
  }
}

@container (min-width: 345px) {
  .container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 345px) {
  .container {
    grid-template-columns: 1fr 1fr;
  }
}
@Profesor08 Profesor08 changed the title [CSS, SCSS, SASS] Wront syntax highlight for @container queries [CSS, SCSS, SASS] Wrong syntax highlight for @container queries Oct 17, 2024
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

No branches or pull requests

1 participant