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

⏳ Container Query Styled Components Support Tracking Issue #98

Closed
1 task
rossbulat opened this issue Jun 4, 2022 · 1 comment
Closed
1 task

⏳ Container Query Styled Components Support Tracking Issue #98

rossbulat opened this issue Jun 4, 2022 · 1 comment
Labels

Comments

@rossbulat
Copy link
Collaborator

rossbulat commented Jun 4, 2022

Current browser support: https://caniuse.com/css-container-queries.

Blocker: Styled Components VS Code Support:

The vscode-styled-components plugin is yet to have container query support, and is flagging container usage as unknown properties. The custom css workaround does not apply to styled components.

About CSS Container Queries

example using a container query:

@container (min-width: 700px){
  .card {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
}
@rossbulat rossbulat added the future-spec Future specifications to implement label Jun 4, 2022
@github-actions github-actions bot added the Stale label Apr 10, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2023
@rossbulat rossbulat reopened this Jun 15, 2023
@rossbulat rossbulat changed the title CSS Container Queries to solve window-based resizing Migrate to styled components v6 + use Container Queries for window-based resizing Jun 15, 2023
@rossbulat rossbulat removed future-spec Future specifications to implement Stale labels Jun 15, 2023
@rossbulat
Copy link
Collaborator Author

rossbulat commented Jul 16, 2023

Styled components 6 migration is now completed with #1222 . We can now utilise container queries via vanilla CSS and styled components, however intellisense is still not supported in VS Code.

@rossbulat rossbulat changed the title Migrate to styled components v6 + use Container Queries for window-based resizing ⏳ Container Query Styled Components Support Tracking Issue Jul 19, 2023
@github-actions github-actions bot added the Stale label Sep 18, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant