[v4] How to disable container? #16323
Answered
by
aschmid1
lihanspace
asked this question in
Help
-
|
[v4] How to disable container? In v3 there was a /** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
container: false,
},
} |
Beta Was this translation helpful? Give feedback.
Answered by
aschmid1
Apr 11, 2025
Replies: 2 comments 3 replies
-
|
No real way to disable it, you can only unset its properties: @utility container {
max-width: unset;
width: unset;
} |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I was able to disable it with @source not inline('container');which is described in https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lihanspace
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to disable it with
which is described in https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes.