Fix Comment Upvote Buttons

This commit is contained in:
spikecodes 2020-11-23 16:58:40 -08:00
parent b218ec6065
commit 0b92868bfe
5 changed files with 2 additions and 14 deletions

View File

@ -188,10 +188,6 @@ span {
font-size: 20px; font-size: 20px;
} }
.post_upvote {
display: none;
}
.post_subreddit { .post_subreddit {
font-weight: bold; font-weight: bold;
} }

View File

@ -9,9 +9,7 @@
{% for post in posts %} {% for post in posts %}
<div class="post"> <div class="post">
<div class="post_left"> <div class="post_left">
<button class="post_upvote"></button>
<h3 class="post_score">{{ post.score }}</h3> <h3 class="post_score">{{ post.score }}</h3>
<button class="post_upvote"></button>
</div> </div>
<div class="post_right"> <div class="post_right">
<p> <p>

View File

@ -7,9 +7,7 @@
{% block content %} {% block content %}
<div class="post highlighted"> <div class="post highlighted">
<div class="post_left"> <div class="post_left">
<button class="post_upvote"></button>
<h3 class="post_score">{{ post.score }}</h3> <h3 class="post_score">{{ post.score }}</h3>
<button class="post_upvote"></button>
</div> </div>
<div class="post_right"> <div class="post_right">
<p> <p>
@ -39,7 +37,7 @@
{% for comment in comments %} {% for comment in comments %}
<div class="comment"> <div class="comment">
<div class="comment_left"> <div class="comment_left">
<button class="comment_upvote"></button> <div class="comment_upvote"></div>
<h3 class="comment_score">{{ comment.score }}</h3> <h3 class="comment_score">{{ comment.score }}</h3>
</div> </div>
<div class="comment_right"> <div class="comment_right">

View File

@ -28,9 +28,7 @@
{% for post in posts %} {% for post in posts %}
<div class="post"> <div class="post">
<div class="post_left"> <div class="post_left">
<button class="post_upvote"></button>
<h3 class="post_score">{{ post.score }}</h3> <h3 class="post_score">{{ post.score }}</h3>
<button class="post_upvote"></button>
</div> </div>
<div class="post_right"> <div class="post_right">
<p> <p>

View File

@ -28,9 +28,7 @@
{% if post.title != "Comment" %} {% if post.title != "Comment" %}
<div class='post'> <div class='post'>
<div class="post_left"> <div class="post_left">
<button class="post_upvote"></button>
<h3 class="post_score">{{ post.score }}</h3> <h3 class="post_score">{{ post.score }}</h3>
<button class="post_upvote"></button>
</div> </div>
<div class="post_right"> <div class="post_right">
<p> <p>
@ -54,7 +52,7 @@
{% else %} {% else %}
<div class="comment"> <div class="comment">
<div class="comment_left"> <div class="comment_left">
<button class="comment_upvote"></button> <div class="comment_upvote"></div>
<h3 class="comment_score">{{ post.score }}</h3> <h3 class="comment_score">{{ post.score }}</h3>
</div> </div>
<div class="comment_right"> <div class="comment_right">