aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Luong2013-06-14 04:47:23 (EDT)
committerMark Macdonald2013-06-14 11:56:58 (EDT)
commitb40e13d6c7efc0203cfe9a2c7762e95cf7080c2e (patch)
tree6535bee9f23da1cac61185452326754d58c58b23
parentbb59ce9637f724fed6de9a0da8dd66234359fc18 (diff)
downloadorg.eclipse.orion.client-b40e13d6c7efc0203cfe9a2c7762e95cf7080c2e.zip
org.eclipse.orion.client-b40e13d6c7efc0203cfe9a2c7762e95cf7080c2e.tar.gz
org.eclipse.orion.client-b40e13d6c7efc0203cfe9a2c7762e95cf7080c2e.tar.bz2
Bug 410732 - Tooltip balloon appears in 2 parts
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/css/theme.css1
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/webui/tooltip.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/css/theme.css b/bundles/org.eclipse.orion.client.ui/web/css/theme.css
index ce51fe9..2ce2cdb 100644
--- a/bundles/org.eclipse.orion.client.ui/web/css/theme.css
+++ b/bundles/org.eclipse.orion.client.ui/web/css/theme.css
@@ -457,7 +457,6 @@ a.currentLocation:hover {
border: 8px solid;
border-color: transparent transparent transparent #555;
top: 4px;
- right: -15px;
content: '';
z-index: 201;
}
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/webui/tooltip.js b/bundles/org.eclipse.orion.client.ui/web/orion/webui/tooltip.js
index de62084..a65857c 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/webui/tooltip.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/webui/tooltip.js
@@ -200,6 +200,9 @@ define(['require', 'orion/webui/littlelib'], function(require, lib) {
} else {
this._tip.insertBefore(this._tail, this._tipInner);
}
+ if (position === 'left') { //$NON-NLS-0$
+ this._tail.style.left = tipRect.width + "px"; //$NON-NLS-0$
+ }
}
this._tip.style.top = top + "px"; //$NON-NLS-0$
this._tip.style.left = left + "px"; //$NON-NLS-0$