From e7ba29c3c62bd1f511ab418dc66be54b3586272a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 8 Mar 2020 18:54:52 -0400 Subject: [PATCH] Hover on upvote / downvote on post-listing scores. --- ui/src/components/post-listing.tsx | 39 ++++++++++++++++++------------ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index d087d14..bef7499 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -464,22 +464,29 @@ export class PostListing extends Component {
  • {this.state.upvotes !== this.state.score && ( <> -
  • - - - - - {this.state.upvotes} - -
  • -
  • - - - - - {this.state.downvotes} - -
  • + +
  • + + + + + {this.state.upvotes} + +
  • +
  • + + + + + {this.state.downvotes} + +
  • +
  • )}