0

I'm trying to figure out if there is a way I can use container queries in react-tss. The docs don't mention anything about it or media queries for that matter. I was able to do something like the following for media queries and it compiled to the right css.

const styles = {
  button: {
    width: 100
  },
  '@media (min-width: 1024px)': {
    button: {
      width: 200
    }
  }
}

However I can't make that work with @container. Maybe there is no current solution for this with tss-react. If not and there are any other suggestions in using container queries with mui5 I'm all ears. Thank you.

yoshinator
  • 436
  • 6
  • 13

0 Answers0