container doesn’t support @media (min-width: 768px): or any other variants #512
-
I'm trying to use the example found in the docs to make my element behave like a container at certain sizes: https://tailwindcss.com/docs/container#responsive-variants
However, I get this error:
I'm on version 2.2.7 of tailwind and 2.6.2 of twin.macro. You can see it working here in the first |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Looks like an easy fix, I'll just enable variants on the container class 👍 |
Beta Was this translation helpful? Give feedback.
-
I've added a PR fix for including in the next version of twin. |
Beta Was this translation helpful? Give feedback.
I've added a PR fix for including in the next version of twin.