-
This was possible previously but does not work in v4
the conatiner class is not applied on main |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Feb 9, 2025
Replies: 1 comment 3 replies
-
You need to register your @utility container {
@apply flex flex-col h-full gap-1 items-center text-center;
}
.main {
@apply container p-1 pt-0;
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems to be working in this Tailwind Play. Furthermore, there is no
@component
directive to register a class into Tailwind, only@utility
.