Fix Comment Upvote Buttons
This commit is contained in:
parent
b218ec6065
commit
0b92868bfe
@ -188,10 +188,6 @@ span {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.post_upvote {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post_subreddit {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -9,9 +9,7 @@
|
||||
{% for post in posts %}
|
||||
<div class="post">
|
||||
<div class="post_left">
|
||||
<button class="post_upvote">↑</button>
|
||||
<h3 class="post_score">{{ post.score }}</h3>
|
||||
<button class="post_upvote">↓</button>
|
||||
</div>
|
||||
<div class="post_right">
|
||||
<p>
|
||||
|
@ -7,9 +7,7 @@
|
||||
{% block content %}
|
||||
<div class="post highlighted">
|
||||
<div class="post_left">
|
||||
<button class="post_upvote">↑</button>
|
||||
<h3 class="post_score">{{ post.score }}</h3>
|
||||
<button class="post_upvote">↓</button>
|
||||
</div>
|
||||
<div class="post_right">
|
||||
<p>
|
||||
@ -39,7 +37,7 @@
|
||||
{% for comment in comments %}
|
||||
<div class="comment">
|
||||
<div class="comment_left">
|
||||
<button class="comment_upvote">↑</button>
|
||||
<div class="comment_upvote">↑</div>
|
||||
<h3 class="comment_score">{{ comment.score }}</h3>
|
||||
</div>
|
||||
<div class="comment_right">
|
||||
|
@ -28,9 +28,7 @@
|
||||
{% for post in posts %}
|
||||
<div class="post">
|
||||
<div class="post_left">
|
||||
<button class="post_upvote">↑</button>
|
||||
<h3 class="post_score">{{ post.score }}</h3>
|
||||
<button class="post_upvote">↓</button>
|
||||
</div>
|
||||
<div class="post_right">
|
||||
<p>
|
||||
|
@ -28,9 +28,7 @@
|
||||
{% if post.title != "Comment" %}
|
||||
<div class='post'>
|
||||
<div class="post_left">
|
||||
<button class="post_upvote">↑</button>
|
||||
<h3 class="post_score">{{ post.score }}</h3>
|
||||
<button class="post_upvote">↓</button>
|
||||
</div>
|
||||
<div class="post_right">
|
||||
<p>
|
||||
@ -54,7 +52,7 @@
|
||||
{% else %}
|
||||
<div class="comment">
|
||||
<div class="comment_left">
|
||||
<button class="comment_upvote">↑</button>
|
||||
<div class="comment_upvote">↑</div>
|
||||
<h3 class="comment_score">{{ post.score }}</h3>
|
||||
</div>
|
||||
<div class="comment_right">
|
||||
|
Loading…
Reference in New Issue
Block a user