diff --git a/desktop/desktop.scss b/desktop/desktop.scss index 8f616d7..77e90f1 100644 --- a/desktop/desktop.scss +++ b/desktop/desktop.scss @@ -48,6 +48,7 @@ .top-contributors--user-likes { grid-area: right; justify-self: end; + white-space: nowrap; } // Recent replies diff --git a/javascripts/discourse/components/top-contributors.hbs b/javascripts/discourse/components/top-contributors.hbs index 17ade1f..7cd986a 100644 --- a/javascripts/discourse/components/top-contributors.hbs +++ b/javascripts/discourse/components/top-contributors.hbs @@ -20,11 +20,11 @@ {{#if (eq this.order "likes_received")}} + {{number item.likes_received}} {{d-icon "heart"}} - {{item.likes_received}} {{else}} + {{number item.likes_given}} {{d-icon "heart"}} - {{item.likes_given}} {{/if}} @@ -33,4 +33,4 @@ {{theme-i18n "top_contributors.view_all"}} - \ No newline at end of file +