 module.exports = class ActivityLikeLink extends React.Component
 
   @defaultProps =
-    tooltip : yes
+    tooltip                  : yes
+    shouldSetTooltipPosition : no
+
+
+  componentDidUpdate: -> @setTooltipPosition()  if @props.shouldSetTooltipPosition
+
+
+  setTooltipPosition: ->
+
+    tooltip = ReactDOM.findDOMNode @refs.tooltip
+
+    return  unless tooltip
+
+    count   = ReactDOM.findDOMNode @refs.count
+    tooltip.style.marginLeft = "#{-count.offsetWidth / 2}px"
+
 
   getClassName: ->
 


    return null  unless actorsCount

    <Tooltip>
      {@renderTooltipItems()}
    </Tooltip>


React        = require 'kd-react'
ReactDOM     = require 'react-dom'
classnames   = require 'classnames'
ActivityFlux = require 'activity/flux'
Tooltip      = require 'app/components/tooltip'
