diff --git a/web/app/components/comment/__vote/_disabled/comment__vote_disabled.scss b/web/app/components/comment/__vote/_disabled/comment__vote_disabled.scss new file mode 100644 index 00000000..820a3300 --- /dev/null +++ b/web/app/components/comment/__vote/_disabled/comment__vote_disabled.scss @@ -0,0 +1,6 @@ +.comment__vote_disabled { + &, &:hover { + border-top-color: #ededed; + cursor: not-allowed; + } +} diff --git a/web/app/components/comment/comment.jsx b/web/app/components/comment/comment.jsx index a53bb52e..70ff1b48 100644 --- a/web/app/components/comment/comment.jsx +++ b/web/app/components/comment/comment.jsx @@ -254,26 +254,24 @@ export default class Comment extends Component { ) } - { - !isGuest && ( - - Vote up + + Vote up - - {o.score.sign}{o.score.value} - + + {o.score.sign}{o.score.value} + - Vote down - - ) - } + Vote down +
+ ) }
diff --git a/web/app/components/comment/index.js b/web/app/components/comment/index.js index f926c81c..95a94aa4 100644 --- a/web/app/components/comment/index.js +++ b/web/app/components/comment/index.js @@ -25,6 +25,7 @@ require('./__time/comment__time.scss'); require('./__username/comment__username.scss'); require('./__vote/comment__vote.scss'); +require('./__vote/_disabled/comment__vote_disabled.scss'); require('./__vote/_selected/comment__vote_selected.scss'); require('./__vote/_type/_down/comment__vote_type_down.scss'); require('./__vote/_type/_up/comment__vote_type_up.scss');