antirez / lamernews

Lamer News -- an HN style social news site written in Ruby/Sinatra/Redis/JQuery
http://lamernews.com
Other
1.35k stars 200 forks source link

Modified some css to give visual feedback after upvoting #121

Closed qawemlilo closed 11 years ago

qawemlilo commented 11 years ago

Some kind of visual feedback needs to be passed to the user after they have voted successfully. At the moment the up arrow remains the same even after I have voted successfully. Hackernews hides the up arrow after a user has upvoted successfully. The css below adds that functionality.

fcambus commented 11 years ago

There is actually visual feedback after upvoting already :

When a story is upvoted, only the 'up' arrow will remain displayed, and the 'down' arrow will be hidden. When a story is downvoted, it's the other way around.

Closing.