2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Reset text/font properties more thoroughly for tooltips+popovers; fixes #15925

[skip sauce]
This commit is contained in:
Chris Rebert
2015-03-16 14:48:49 -07:00
parent 1bc9fb626c
commit 5359cb8054
4 changed files with 27 additions and 13 deletions
+18
View File
@@ -0,0 +1,18 @@
.reset-text() {
font-family: @font-family-base;
// We deliberately do NOT reset font-size.
font-style: normal;
font-weight: normal;
letter-spacing: normal;
line-break: auto;
line-height: @line-height-base;
text-align: left; // Fallback for where `start` is not supported
text-align: start;
text-decoration: none;
text-shadow: none;
text-transform: none;
white-space: normal;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
}