Add a bit of space between star icon and text

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-10-07 15:22:33 +03:00
parent c0306f78d2
commit 8fad7e63a3

View file

@ -128,9 +128,9 @@ module ProjectsHelper
toggle_html = content_tag('span', class: 'toggle') do
toggle_text = if starred
'Unstar'
' Unstar'
else
'Star'
' Star'
end
content_tag('i', ' ', class: 'fa fa-star') + toggle_text