Browse Source

Fixed centering for images in mobile view

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
9aa67106fb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      blog/index.html

2
blog/index.html

@ -74,7 +74,7 @@ section_id: blog
</div>
<div class="large-3 columns blog">
{% if post.images %}
<a href="{{ post.url | replace:'.html','' }}"><img src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
<a href="{{ post.url | replace:'.html','' }}"><img style="display: block; margin: auto;" src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
{% endif %}
</div>
</div>

Loading…
Cancel
Save