Skip to content

Commit

Permalink
Merge branch 'main' into rs/build-plugins-warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit2sharma95 committed Jun 14, 2021
2 parents 997900f + 95bc724 commit 8484d28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion site/content/docs/5.0/customize/overview.md
Expand Up @@ -48,4 +48,4 @@ Several Bootstrap components include embedded SVGs in our CSS to style component
- [Carousel controls]({{< docsref "/components/carousel#with-controls" >}})
- [Navbar toggle buttons]({{< docsref "/components/navbar#responsive-behaviors" >}})

Based on [community conversation](https://github.com/twbs/bootstrap/issues/25394), some options for addressing this in your own codebase include replacing the URLs with locally hosted assets, removing the images and using inline images (not possible in all components), and modifying your CSP. Our recommendation is to carefully review your own security policies and decide on a best path forward, if necessary.
Based on [community conversation](https://github.com/twbs/bootstrap/issues/25394), some options for addressing this in your own codebase include replacing the URLs with locally hosted assets, removing the images and using inline images (not possible in all components), and modifying your CSP. Our recommendation is to carefully review your own security policies and decide on the best path forward, if necessary.
8 changes: 4 additions & 4 deletions site/content/docs/5.0/examples/sidebars/index.html
Expand Up @@ -195,22 +195,22 @@ <h1 class="visually-hidden">Sidebars examples</h1>
</li>
<li>
<a href="#" class="nav-link py-3 border-bottom" title="Dashboard" data-bs-toggle="tooltip" data-bs-placement="right">
<svg class="bi" width="24" height="24"><use xlink:href="#speedometer2"/></svg>
<svg class="bi" width="24" height="24" role="img" aria-label="Dashboard"><use xlink:href="#speedometer2"/></svg>
</a>
</li>
<li>
<a href="#" class="nav-link py-3 border-bottom" title="Orders" data-bs-toggle="tooltip" data-bs-placement="right">
<svg class="bi" width="24" height="24"><use xlink:href="#table"/></svg>
<svg class="bi" width="24" height="24" role="img" aria-label="Orders"><use xlink:href="#table"/></svg>
</a>
</li>
<li>
<a href="#" class="nav-link py-3 border-bottom" title="Products" data-bs-toggle="tooltip" data-bs-placement="right">
<svg class="bi" width="24" height="24"><use xlink:href="#grid"/></svg>
<svg class="bi" width="24" height="24" role="img" aria-label="Products"><use xlink:href="#grid"/></svg>
</a>
</li>
<li>
<a href="#" class="nav-link py-3 border-bottom" title="Customers" data-bs-toggle="tooltip" data-bs-placement="right">
<svg class="bi" width="24" height="24"><use xlink:href="#people-circle"/></svg>
<svg class="bi" width="24" height="24" role="img" aria-label="Customers"><use xlink:href="#people-circle"/></svg>
</a>
</li>
</ul>
Expand Down

0 comments on commit 8484d28

Please sign in to comment.