Fixed center of image in post page

This commit is contained in:
Asutosh Palai
2016-10-14 21:41:40 +05:30
parent e54696826f
commit a03dae5d3b

View File

@ -33,7 +33,7 @@ layout: layout
<div class="article col-sm-3">
<a href="{{ post.url }}">
<div class="center-fill-container img-container">
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill {% if post.image == null %}hidden{% endif %}">
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill center-both {% if post.image == null %}hidden{% endif %}">
</div>
<div class="details text-center ">
<h3 class="title">{{ post.title | truncatewords: 4}}</h3>