aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralpadev <[email protected]>2021-05-11 10:38:48 +0200
committerGitHub <[email protected]>2021-05-11 11:38:48 +0300
commita6dfaca605297bd463d43d267feda81f379f9457 (patch)
treeea5292a272c452eda978f0cdc9b0230a215fee70
parent8d1b0fb779e8eb07bab2059167741a0b4ecf4a14 (diff)
downloadbootstrap-a6dfaca605297bd463d43d267feda81f379f9457.tar.xz
bootstrap-a6dfaca605297bd463d43d267feda81f379f9457.zip
docs: make tooltip anchor properly wrap the svg (#33901)
Co-authored-by: XhmikosR <[email protected]>
-rw-r--r--site/content/docs/5.0/components/tooltips.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.0/components/tooltips.md b/site/content/docs/5.0/components/tooltips.md
index 80a679fd6..6af594ee3 100644
--- a/site/content/docs/5.0/components/tooltips.md
+++ b/site/content/docs/5.0/components/tooltips.md
@@ -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"/>