Skip to content

Commit

Permalink
Merge pull request #1613 from geekrainy/fix
Browse files Browse the repository at this point in the history
Fixed post-wordcount information on the same line with other
  • Loading branch information
ivan-nginx committed Apr 22, 2017
2 parents 3b64c71 + 6380e75 commit b74ddd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions layout/_macro/post.swig
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@
{% if theme.post_wordcount.wordcount or theme.post_wordcount.min2read %}
<div class="post-wordcount">
{% if theme.post_wordcount.wordcount %}
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
Expand Down
6 changes: 5 additions & 1 deletion source/css/_common/components/post/post-meta.styl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
margin-top: 2px;
}
}


.post-wordcount {
display: inline-block;
}

.post-meta-divider {
margin: 0 .5em;
}
Expand Down

0 comments on commit b74ddd8

Please sign in to comment.