Skip to content

Commit

Permalink
PHRAS-1113 - fix tooltip positionning when thumbnail size changed
Browse files Browse the repository at this point in the history
  • Loading branch information
lostdalek committed May 20, 2016
1 parent 961ff62 commit 1dfba3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/tooltip.js
Expand Up @@ -401,8 +401,8 @@

if ($eventTarget.length > 0) {
// tooltip from records answer
recordWidthOffset = 148; // remove size
recordHeightOffset = 195;
recordWidthOffset = $eventTarget.width()-2; // remove width with margin/2
recordHeightOffset = $eventTarget.height()+2; // remove height with margin/2
// change offsets:
topOffset = 14;
leftOffset = 1;
Expand Down

0 comments on commit 1dfba3a

Please sign in to comment.