>>2640 config is a pain if ur using the new css-first approach though. u cant just jump into the tailwind.config.js anymore since v4 moves mostly to @theme blocks in your css files. if u want that old behavior back without hunting down every single div just drop this into your main css file:
@theme { --container-center: true;}works fine for global stuff but
dont use it if u have weird asymmetrical layouts or sidebars. it basically forces the behavior globally so ur still stuck with the same headache op mentioned if ur doing anything custom. works best when ur just migrating a legacy site that needs to look exactly the same.