tailwindlabs / tailwindcss.com

The Tailwind CSS documentation website.
https://tailwindcss.com
3.25k stars 1.72k forks source link

Added list-inside/outside reference to list-style-type documentation #1852

Closed J216-H150 closed 1 month ago

J216-H150 commented 1 month ago

List style does not work without specifying list-inside or list-outside as well. This was not documented on the list-style-type documentation page. I added the used classes for clarification.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 9:20am
adamwathan commented 1 month ago

Hey! This isn't actually true so going to close this, can see here all that's necessary is list-disc:

https://play.tailwindcss.com/fmABi958Bh

It is important that there is space around the element for the bullet to actually show up though and not be rendered outside of the viewport, since we don't have any padding on lists by default.