Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Ensure we set line-height directly, rather than using 0.1px. Fixes #405
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Nov 20, 2012
1 parent 0d9a109 commit e084761
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion dist/basic/jquery.qtip.js
Expand Up @@ -1713,7 +1713,7 @@ if(!$.ui) {
}

// Set global qTip properties
QTIP.version = '2.0.0pre-nightly-3fe0cd3b86';
QTIP.version = '2.0.0pre-nightly-6a1900df60';
QTIP.nextid = 0;
QTIP.inactiveEvents = 'click dblclick mousedown mouseup mousemove mouseleave mouseenter'.split(' ');
QTIP.zindex = 15000;
Expand Down
2 changes: 1 addition & 1 deletion dist/basic/jquery.qtip.min.js

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions dist/jquery.qtip.css
Expand Up @@ -556,11 +556,8 @@
.qtip .qtip-tip,
.qtip .qtip-tip .qtip-vml{
position: absolute;

line-height: 0.1px !important;
font-size: 0.1px !important;
color: #123456;

color: #123456;
background: transparent;
border: 0 dashed transparent;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.js
Expand Up @@ -1713,7 +1713,7 @@ if(!$.ui) {
}

// Set global qTip properties
QTIP.version = '2.0.0pre-nightly-3fe0cd3b86';
QTIP.version = '2.0.0pre-nightly-6a1900df60';
QTIP.nextid = 0;
QTIP.inactiveEvents = 'click dblclick mousedown mouseup mousemove mouseleave mouseenter'.split(' ');
QTIP.zindex = 15000;
Expand Down Expand Up @@ -2429,7 +2429,7 @@ function Tip(qTip, command)

// Determine tip size
self.size = newSize = calculateSize(corner);
tip.css(newSize);
tip.css(newSize).css('line-height', newSize.height+'px');

// Calculate tip translation
if(corner.precedance === Y) {
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.qtip.min.js

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions src/tips/tips.css
Expand Up @@ -8,11 +8,8 @@
.qtip .qtip-tip,
.qtip .qtip-tip .qtip-vml{
position: absolute;

line-height: 0.1px !important;
font-size: 0.1px !important;
color: #123456;

color: #123456;
background: transparent;
border: 0 dashed transparent;
}
Expand Down
2 changes: 1 addition & 1 deletion src/tips/tips.js
Expand Up @@ -418,7 +418,7 @@ function Tip(qTip, command)

// Determine tip size
self.size = newSize = calculateSize(corner);
tip.css(newSize);
tip.css(newSize).css('line-height', newSize.height+'px');

// Calculate tip translation
if(corner.precedance === Y) {
Expand Down

0 comments on commit e084761

Please sign in to comment.