Expand truncated numbers on mouseover. Close #156

This commit is contained in:
spikecodes 2021-03-20 15:42:47 -07:00
parent ab886d1e67
commit 966e0ce921
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
10 changed files with 26 additions and 70 deletions

View file

@ -108,9 +108,9 @@
</a>
{% endif %}
<div class="post_score">{{ post.score }}<span class="label"> Upvotes</span></div>
<div class="post_score" title="{{ post.score.1 }}">{{ post.score.0 }}<span class="label"> Upvotes</span></div>
<div class="post_footer">
<a href="{{ post.permalink }}" class="post_comments">{{ post.comments }} comments</a>
<a href="{{ post.permalink }}" class="post_comments" title="{{ post.comments.1 }} comments">{{ post.comments.0 }} comments</a>
</div>
</div>
{%- endmacro %}