Skip to content

Commit

Permalink
Fix svg use error
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed May 29, 2020
1 parent 80f606f commit 37d432c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/content/_index.md
Expand Up @@ -52,13 +52,13 @@ Use the SVG sprite to insert any icon through the `<use>` element. Use the icon'
<div class="col-md-8">
{{< example >}}
<svg class="bi" width="32" height="32" fill="currentColor">
<use xlink:href="bootstrap-icons.svg#heart-fill">
<use xlink:href="bootstrap-icons.svg#heart-fill"/>
</svg>
<svg class="bi" width="32" height="32" fill="currentColor">
<use xlink:href="bootstrap-icons.svg#toggles">
<use xlink:href="bootstrap-icons.svg#toggles"/>
</svg>
<svg class="bi" width="32" height="32" fill="currentColor">
<use xlink:href="bootstrap-icons.svg#shop">
<use xlink:href="bootstrap-icons.svg#shop"/>
</svg>
{{< /example >}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/partials/icons.html
Expand Up @@ -17,7 +17,7 @@ <h2 id="icons" class="mb-0">Icons</h2>
<a class="d-block text-dark text-decoration-none" href="/icons/{{ $filename }}/">
<div class="p-3 py-4 mb-2 bg-light text-center rounded">
<svg class="bi" width="1em" height="1em" fill="currentColor">
<use xlink:href="bootstrap-icons.svg#{{ $filename }}">
<use xlink:href="bootstrap-icons.svg#{{ $filename }}"/>
</svg>
</div>
<div class="name text-muted text-decoration-none text-center pt-1">
Expand Down

0 comments on commit 37d432c

Please sign in to comment.