where did the container go in v4?
              
              #14801
            
            Replies: 4 comments 14 replies
-
| There is an open issue regarding this, see #13129. Also of note, there was a PR to add it into v4, but was closed without merge with reasoning at #13391 (comment). As an aside,  | 
Beta Was this translation helpful? Give feedback.
-
| Hi @MrOxMasTer , In Tailwind CSS v4, the concept of the  Here's how you can define a container in your  theme: {
  container: {
    center: true,
    padding: {
      DEFAULT: '0.5rem',
      sm: '0.5rem',
      mm: '1rem',
      mt: '4rem',
      md: '5rem',
    },
  },
}You can still use the  Let me know if you have any further questions! Thanks . | 
Beta Was this translation helpful? Give feedback.
-
| Could someone clarify how to disable  | 
Beta Was this translation helpful? Give feedback.
-
| Why is it not in the docs anymore if it's still supported? | 
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
where did the
containergo in v4? Or has it been replaced by the CSS container@container?theme: {
container: {
center: true,
padding: {
DEFAULT: '0.5rem',
sm: '0.5rem',
mm: '1rem',
mt: '4rem',
md: '5rem',
},
},
}
Beta Was this translation helpful? Give feedback.
All reactions