Skip to content

Commit

Permalink
docs: make tooltip anchor properly wrap the svg (#33901)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
alpadev and XhmikosR committed May 11, 2021
1 parent 8d1b0fb commit a6dfaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/tooltips.md
Expand Up @@ -88,7 +88,7 @@ And with custom HTML added:
With an SVG:

<div class="bd-example tooltip-demo">
<a href="#" data-bs-toggle="tooltip" title="Default tooltip">
<a href="#" class="d-inline-block" data-bs-toggle="tooltip" title="Default tooltip">
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 100 100">
<rect width="100%" height="100%" fill="#563d7c"/>
<circle cx="50" cy="50" r="30" fill="#007bff"/>
Expand Down

0 comments on commit a6dfaca

Please sign in to comment.