diff --git a/app/assets/javascripts/discourse/views/user-card.js.es6 b/app/assets/javascripts/discourse/views/user-card.js.es6 index 66e62b88d58..e6e1d125394 100644 --- a/app/assets/javascripts/discourse/views/user-card.js.es6 +++ b/app/assets/javascripts/discourse/views/user-card.js.es6 @@ -83,7 +83,7 @@ export default Discourse.View.extend(CleansUp, { var overage = ($(window).width() - 50) - (position.left + width); if (overage < 0) { - position.left -= (width/2) - 10; + position.left += overage; position.top += target.height() + 8; }