Vote fixed

master
lampe_n1 5 years ago
parent e8a5bb0fab
commit 861c660e8b

@ -11,10 +11,10 @@
<p [innerHTML]="post.htmlContent" id="content"></p> <p [innerHTML]="post.htmlContent" id="content"></p>
</div> </div>
<div class="vote"> <div class="vote">
<button id="down" type='submit'><span><i class="fa fa-thumbs-o-down fa-2x" aria-hidden="true" (click)="voteDown(post)"></i></span></button> <button id="down" type='submit'><span><i class="fa fa-thumbs-o-down fa-2x" aria-hidden="true" (click)="voteDown(post)"></i></span></button>
<button id="up" type='submit'><span><i class="fa fa-thumbs-o-up fa-2x" aria-hidden="true" (click)="voteUp(post)"></i></span></button> <span id="downvotes">{{post.downvotes}}</span>
<span id="downvotes">{{post.downvotes}}</span> <button id="up" type='submit'><span><i class="fa fa-thumbs-o-up fa-2x" aria-hidden="true" (click)="voteUp(post)"></i></span></button>
<span id="upvotes">{{post.upvotes}}</span> <span id="upvotes">{{post.upvotes}}</span>
</div> </div>
</div> </div>
</div> </div>

@ -43,6 +43,7 @@
@include gridPosition(1, 2, 2, 3) @include gridPosition(1, 2, 2, 3)
display: grid display: grid
grid-template: 70% 30% /50% 50% grid-template: 70% 30% /50% 50%
height: 3em
button button
background-color: $cFeedItemBackground background-color: $cFeedItemBackground
border: none border: none

Loading…
Cancel
Save