diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-12-03 19:06:35 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-12-03 19:06:35 +0300 |
commit | 2859e8d54f948184ac489afea995c65ed0ca325c (patch) | |
tree | 1f7580cdb8294ad73c81bff1b6496ae753b78073 /app | |
parent | 04a6ed6970505be661b7481225f8f3592940bdb0 (diff) | |
parent | 8d57227041381c403db28cf1aa000f40899eec73 (diff) |
Merge branch '53400-unstar-icon-button-is-misaligned' into 'master'
Resolve "unstar icon button is misaligned"
Closes #53400
See merge request gitlab-org/gitlab-ce!23444
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/star.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/star.js b/app/assets/javascripts/star.js index 007b83e1927..9af5d5b23cb 100644 --- a/app/assets/javascripts/star.js +++ b/app/assets/javascripts/star.js @@ -23,11 +23,11 @@ export default class Star { if (isStarred) { $starSpan.removeClass('starred').text(s__('StarProject|Star')); $startIcon.remove(); - $this.prepend(spriteIcon('star-o')); + $this.prepend(spriteIcon('star-o', 'icon')); } else { $starSpan.addClass('starred').text(__('Unstar')); $startIcon.remove(); - $this.prepend(spriteIcon('star')); + $this.prepend(spriteIcon('star', 'icon')); } }) .catch(() => Flash('Star toggle failed. Try again later.')); |