Skip to content

Commit ce87033

Browse files
Fix list-style-type documentation playground/code mismatch
Update HTML code snippets to match the interactive playground examples: - Add missing 'list-inside' class to all three examples - Change <ol> to <ul> for list-decimal example to match playground Fixes #2255
1 parent 7871a7b commit ce87033

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/docs/list-style-type.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ Use utilities like `list-disc` and `list-decimal` to control the style of the ma
5656
</Example>
5757

5858
```html
59-
<!-- [!code classes:list-disc] -->
60-
<ul class="list-disc">
59+
<!-- [!code classes:list-disc,list-inside] -->
60+
<ul class="list-inside list-disc">
6161
<li>Now this is a story all about how, my life got flipped-turned upside down</li>
6262
<!-- ... -->
6363
</ul>
6464

65-
<!-- [!code classes:list-decimal] -->
66-
<ol class="list-decimal">
65+
<!-- [!code classes:list-decimal,list-inside] -->
66+
<ul class="list-inside list-decimal">
6767
<li>Now this is a story all about how, my life got flipped-turned upside down</li>
6868
<!-- ... -->
69-
</ol>
69+
</ul>
7070

71-
<!-- [!code classes:list-none] -->
72-
<ul class="list-none">
71+
<!-- [!code classes:list-none,list-inside] -->
72+
<ul class="list-inside list-none">
7373
<li>Now this is a story all about how, my life got flipped-turned upside down</li>
7474
<!-- ... -->
7575
</ul>

0 commit comments

Comments
 (0)