client/js/main.js
changeset 650 b2e22052e9d6
parent 649 2b9c120dba55
--- a/client/js/main.js	Tue Jan 10 17:36:30 2017 +0100
+++ b/client/js/main.js	Wed Jan 11 10:13:49 2017 +0100
@@ -562,11 +562,11 @@
                 _selector.css({
                     'overflow-x': 'hidden',
                     'overflow-y': 'scroll',
-                    'max-height':(container_rect.bottom - 2 * _options.tooltip_padding - 10 - rect.top) + 'px'
+                    'max-height':(container_rect.bottom - 2 * _options.tooltip_padding - 5 - rect.top) + 'px'
                 });
             }
 
-            var _height = _selector.outerHeight() + 2 * _options.tooltip_padding,
+            var _height = _selector.outerHeight() + 2 * _options.tooltip_padding + 5,
                 _isLeft = (_coords.x < paper.view.center.x ? 1 : -1),
                 _left = _coords.x + _isLeft * (_xmargin + _options.tooltip_arrow_length),
                 _right = _coords.x + _isLeft * (_xmargin + _options.tooltip_arrow_length + _options.tooltip_width),