Skip to content

Commit 5eeceeb

Browse files
authored
Allow abbr styling with tooltip, fixes twbs#39026
1 parent 1184417 commit 5eeceeb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scss/_tooltip.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,12 @@
117117
background-color: var(--#{$prefix}tooltip-bg);
118118
@include border-radius(var(--#{$prefix}tooltip-border-radius));
119119
}
120+
121+
// Workaround for abbr when tooltip substitutes title for data-bs-original-title
122+
//
123+
// This matches the abbr styling in _reboot.scss
124+
abbr[data-bs-original-title] {
125+
text-decoration: underline dotted;
126+
cursor: help;
127+
text-decoration-skip-ink: none;
128+
}

0 commit comments

Comments
 (0)