I have custom container utility that uses grid instead of max width and margin so I can break out of it when I need to.
Unfortunately, after upgrading to beta.1 from alpha.29, there are now generated rules for .container with max-width set on different breakpoints. Even setting max-w-none in my utility does not remove it, and I don't want to do md:max-w-none lg:max-w-none ... to override all the breakpoints.
What version of Tailwind CSS are you using?
v4.0.0-beta.1
What build tool (or framework if it abstracts the build tool) are you using?
@tailwindcss/cli@4.0.0-beta.1
What version of Node.js are you using?
v20
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/2Gw5xBur52?file=css
Describe your issue
I have custom
container
utility that uses grid instead of max width and margin so I can break out of it when I need to.Unfortunately, after upgrading to
beta.1
fromalpha.29
, there are now generated rules for.container
with max-width set on different breakpoints. Even settingmax-w-none
in my utility does not remove it, and I don't want to domd:max-w-none lg:max-w-none ...
to override all the breakpoints.