Make poll results appear inside of a post (#218)
This commit is contained in:
parent
7156be6ad0
commit
2991813c2d
@ -1242,6 +1242,10 @@ a.search_subreddit:hover {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.highlighted .post_poll {
|
||||
padding: 15px 0 5px;
|
||||
}
|
||||
|
||||
/* Used only for text post preview */
|
||||
.post_preview {
|
||||
-webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
|
||||
|
@ -153,7 +153,10 @@
|
||||
{% endif %}
|
||||
|
||||
<!-- POST BODY -->
|
||||
<div class="post_body">{{ post.body|safe }}</div>
|
||||
<div class="post_body">
|
||||
{{ post.body|safe }}
|
||||
{% call poll(post) %}
|
||||
</div>
|
||||
<div class="post_score" title="{{ post.score.1 }}">
|
||||
{% if prefs.hide_score != "on" %}
|
||||
{{ post.score.0 }}
|
||||
|
Loading…
Reference in New Issue
Block a user