Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list-style-position: Clarify and illustrate the different text indentation behavior of list-inside vs. list-outside #951

Merged
merged 1 commit into from
Sep 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pages/docs/list-style-position.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const classes = { plugin }

## Usage

Control the position of the markers in a list using the `list-inside` and `list-outside` utilities.
Control the position of the markers and text indentation in a list using the `list-inside` and `list-outside` utilities.

```html lightBlue
<template preview class="p-4 px-8">
Expand All @@ -25,7 +25,7 @@ Control the position of the markers in a list using the `list-inside` and `list-
<ul class="list-disc list-inside bg-light-blue-200 bg-stripes bg-stripes-white text-light-blue-600 py-2 rounded-md">
<li>Lorem ipsum dolor sit amet, consectetur adipisicing elit</li>
<li>Assumenda, quia temporibus eveniet a libero incidunt suscipit</li>
<li>Quidem, ipsam illum quis sed voluptatum quae eum fugit earum</li>
<li>Quia temporibus eveniet a libero incidunt suscipit laborum, rerum accusantium modi quidem, ipsam illum quis sed voluptatum quae eum fugit earum</li>
</ul>
</p>
</div>
Expand All @@ -34,7 +34,7 @@ Control the position of the markers in a list using the `list-inside` and `list-
<ul class="list-disc list-outside bg-light-blue-200 bg-stripes bg-stripes-white text-light-blue-600 py-2 rounded-md">
<li>Lorem ipsum dolor sit amet, consectetur adipisicing elit</li>
<li>Assumenda, quia temporibus eveniet a libero incidunt suscipit</li>
<li>Quidem, ipsam illum quis sed voluptatum quae eum fugit earum</li>
<li>Quia temporibus eveniet a libero incidunt suscipit laborum, rerum accusantium modi quidem, ipsam illum quis sed voluptatum quae eum fugit earum</li>
</ul>
</div>
</template>
Expand Down