#is responsive `style` possible?
2 messages · Page 1 of 1 (latest)
You could use the use-matches hook
(I’m unable to find it except in the latest changelog)
Note that
use-matcheshook uses the same logic as use-media-query under the hood, it is not recommended to be used as a primary source of responsive styles, especially if you have ssr in your application.
https://mantine.dev/changelog/7-9-0/#use-matches-hook
For me, the most efficient way is to use CSS media queries