Skip to content

Commit

Permalink
Docs(web-twig): Add missing ol tag in Breadcrumbs example
Browse files Browse the repository at this point in the history
  * without that tag the example is badly formatted
  • Loading branch information
literat committed Apr 1, 2023
1 parent 1c4b7f2 commit cd36c21
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions packages/web-twig/src/Resources/components/Breadcrumbs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,23 @@ Example of custom usage:

```html
<Breadcrumbs>
<li class="d-none d-tablet-flex">
<Link href="#rootUrl" color="primary" isUnderlined>Root</Link>
</li>
<li class="d-none d-tablet-flex">
<Link href="#categoryUrl" color="primary" isUnderlined>Category</Link>
</li>
<li class="d-tablet-none">
<Link href="#subcategoryUrl" color="primary" isUnderlined>Custom go back link</Link>
</li>
<li class="d-none d-tablet-flex">
<Link href="#subcategoryUrl" color="primary" isUnderlined>Subcategory</Link>
</li>
<li class="d-none d-tablet-flex">
<Link href="#currentUrl" color="secondary" aria-current="page">Current page</Link>
</li>
<ol>
<li class="d-none d-tablet-flex">
<Link href="#rootUrl" color="primary" isUnderlined>Root</Link>
</li>
<li class="d-none d-tablet-flex">
<Link href="#categoryUrl" color="primary" isUnderlined>Category</Link>
</li>
<li class="d-tablet-none">
<Link href="#subcategoryUrl" color="primary" isUnderlined>Custom go back link</Link>
</li>
<li class="d-none d-tablet-flex">
<Link href="#subcategoryUrl" color="primary" isUnderlined>Subcategory</Link>
</li>
<li class="d-none d-tablet-flex">
<Link href="#currentUrl" color="secondary" aria-current="page">Current page</Link>
</li>
</ol>
</Breadcrumbs>
```

Expand Down

0 comments on commit cd36c21

Please sign in to comment.