Fix Comment Upvote Buttons
This commit is contained in:
parent
b218ec6065
commit
0b92868bfe
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
@ -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">
|
||||||
|
@ -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>
|
||||||
|
@ -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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user