Skip to content

Commit

Permalink
Remove leftover abbr styles in Reboot for tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed May 9, 2022
1 parent 4a682ab commit 619a65c
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,14 @@ p {

// Abbreviations
//
// 1. Duplicate behavior to the data-bs-* attribute for our tooltip plugin
// 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
// 3. Add explicit cursor to indicate changed behavior.
// 4. Prevent the text-decoration to be skipped.

abbr[title],
abbr[data-bs-original-title] { // 1
text-decoration: underline dotted; // 2
cursor: help; // 3
text-decoration-skip-ink: none; // 4
// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
// 2. Add explicit cursor to indicate changed behavior.
// 3. Prevent the text-decoration to be skipped.

abbr[title] {
text-decoration: underline dotted; // 1
cursor: help; // 2
text-decoration-skip-ink: none; // 3
}


Expand Down

0 comments on commit 619a65c

Please sign in to comment.