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%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.highlighted .post_poll {
|
||||||
|
padding: 15px 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Used only for text post preview */
|
/* Used only for text post preview */
|
||||||
.post_preview {
|
.post_preview {
|
||||||
-webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
|
-webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
|
||||||
|
@ -153,7 +153,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- POST BODY -->
|
<!-- 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 }}">
|
<div class="post_score" title="{{ post.score.1 }}">
|
||||||
{% if prefs.hide_score != "on" %}
|
{% if prefs.hide_score != "on" %}
|
||||||
{{ post.score.0 }}
|
{{ post.score.0 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user