DiscoverMeteor/Microscope

style.css missing 'upvotable' and 'disabled' class

Closed this issue · 1 comments

in client/templates/posts/post_item.js, you have:

    if (userId && !_.include(this.upvoters, userId)) {
      return 'btn-primary upvotable';
    } else {
      return 'disabled';

It looks like you might have dropped the upvotable and disabled classes from style.css. a6943412644b733ad4e17b3fd3f2c3b01df56bae``

  .post .upvote {
    display: block;
    margin: 7px 12px 0 0;
    float: left; }

(Apologies in advance if I am wrong or am looking at the wrong css file to look for those classes)

No bug.

Closing because I just didn't understand the css.
disabled is a default attribute of the button selector and doesn't need to be defined in style.css
upvotable is not in the style.css on purpose. It's just an extra class that doesn't change the display.