2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +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
+4 -5
View File
@@ -8,12 +8,11 @@
position: absolute;
z-index: @zindex-tooltip;
display: block;
// Reset font and text properties given new insertion method
font-family: @font-family-base;
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
// So reset our font and text properties to avoid inheriting weird values.
.reset-text();
font-size: @font-size-small;
font-weight: normal;
line-height: @line-height-base;
text-decoration: none;
.opacity(0);
&.in { .opacity(@tooltip-opacity); }