How to handle responsive styles in v9? #24222
-
In v8, we got |
Beta Was this translation helpful? Give feedback.
Answered by
micahgodbolt
Aug 26, 2022
Replies: 1 comment
-
with v9 controls we are trying to not make as many assumptions as we did in v8, so none of our controls have built in responsive features. We recommend using whatever took works best for you. That could be raw media queries in your CSS, or an open source hook based approach like https://www.npmjs.com/package/@react-hook/media-query |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
micahgodbolt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with v9 controls we are trying to not make as many assumptions as we did in v8, so none of our controls have built in responsive features. We recommend using whatever took works best for you. That could be raw media queries in your CSS, or an open source hook based approach like https://www.npmjs.com/package/@react-hook/media-query