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

Support container queries #14

Closed
Tracked by #98
quantizor opened this issue Jun 4, 2023 · 3 comments · Fixed by #19
Closed
Tracked by #98

Support container queries #14

quantizor opened this issue Jun 4, 2023 · 3 comments · Fixed by #19

Comments

@quantizor
Copy link

Currently this code isn't understood

container-type: inline-size;  // <- warning, "Unknown property: 'container-type'ts-styled-plugin(9999)"

.someChildren {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
};

@container (max-width: 10rem) { // <- error, "} expected ts-styled-plugin(9999)"
  .someChildren {
    flex-direction: column;
  }
}
@rossbulat
Copy link

Plus 1. Any guidance from the team on when this can be rolled out?

@quantizor
Copy link
Author

Probably going to need a community PR for it. I definitely don't have time to maintain this library too unfortunately

@marvinroger
Copy link

Here's a PR to fix this issue: #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants