Replies: 1 comment 2 replies
-
Indeed, in v4, tailwindcss/packages/tailwindcss/src/utilities.ts Lines 1005 to 1015 in fc94ab4 But you can override @utility container {
margin-inline: auto;
max-width: none;
@media (width >= 37.5rem) {
max-width: 37.5rem;
}
@media (width >= 45.5rem) {
max-width: 45.5rem;
}
@media (width >= 61.5rem) {
max-width: 61.5rem;
}
@media (width >= 77.5rem) {
max-width: 77.5rem;
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in tailwind v3 you could do something like this
but in v4 we only got the below which only applies to
@container
and notcontainer
Beta Was this translation helpful? Give feedback.
All reactions