list-style-position: Clarify and illustrate the different text indentation behavior of list-inside vs. list-outside #951
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Clarify that the utility classes not only change the position of the marker, but also how text indentation works.
The third list element is now multi line, so the effect becomes visible. And the intro sentence hints that this util changes more than just the position.
Pages:
See also tailwindlabs/tailwindcss#4549 by @jpwynn
Personally, I would even go a step further, and reverse the order of utils (currently (1) inside, (2) outside). This nudged me towards the inside option being the smarter choice, but TBH I don't see when that would be true – unless you can be sure that your list will never get multiline.
The example could also add (or at least hint to add) a
ml-5
to the outside-list.