max-w-* documentation vs. output (--container vs --spacing) #16466
-
I'm using latest tailwind & tailwind CLI (4.0.6). this is my max-w output:
Sometimes its using container, sometimes its using spacing variable. The official documentation says they should all use container.
Is this a bug(tailwind or flowbite), misconfiguration/usererror or is the documentation wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey there! Do you mind attaching a repro for this? By default we do not set any ![]() |
Beta Was this translation helpful? Give feedback.
-
Can confirm, when removing |
Beta Was this translation helpful? Give feedback.
-
@philipp-spiess
|
Beta Was this translation helpful? Give feedback.
Hey there! Do you mind attaching a repro for this? By default we do not set any
--spacing-*
value so this must come from either your config or from Flowbite. If I generate all themax-w-*
utilities in the playground for example, it generates what you expect: https://play.tailwindcss.com/eAL7WYsQ8Q?file=css