diff options
| author | Mark Otto <[email protected]> | 2016-11-28 20:26:28 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-11-28 20:26:28 -0800 |
| commit | af937836d95ebf7bc100288bef7a7f99b637d7f9 (patch) | |
| tree | ac44f00e3ed5c3f37ee618e18c501e4c68d4c920 | |
| parent | 4c807de7f06b05e1cb47f7fcf2e941b2c0c62f9d (diff) | |
| download | bootstrap-af937836d95ebf7bc100288bef7a7f99b637d7f9.tar.xz bootstrap-af937836d95ebf7bc100288bef7a7f99b637d7f9.zip | |
Fix #20908 (#21244)
Remove the border-bottom from abbr elements since that's covered with an underline in Normalize.css. Updates the docs to match and tweaks some code comments, too.
| -rw-r--r-- | docs/content/typography.md | 2 | ||||
| -rw-r--r-- | scss/_reboot.scss | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/content/typography.md b/docs/content/typography.md index 35d47886a..073734768 100644 --- a/docs/content/typography.md +++ b/docs/content/typography.md @@ -154,7 +154,7 @@ Change text alignment, transform, style, weight, and color with our [text utilit ## Abbreviations -Stylized implementation of HTML's `<abbr>` element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a `title` attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover and to users of assistive technologies. +Stylized implementation of HTML's `<abbr>` element for abbreviations and acronyms to show the expanded version on hover. Abbreviations have a default underline from Normalize.css and gain a help cursor to provide additional context on hover and to users of assistive technologies. Add `.initialism` to an abbreviation for a slightly smaller font-size. diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 65f20b4d6..1ca9c54f4 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -112,12 +112,11 @@ p { margin-bottom: 1rem; } -// Abbreviations and acronyms +// Abbreviations abbr[title], // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257 abbr[data-original-title] { cursor: help; - border-bottom: 1px dotted $abbr-border-color; } address { |
