fixes images not resizing

This commit is contained in:
Andrew Banchich 2017-05-24 21:58:12 -04:00
parent 6014a0b026
commit a72185abbe
2 changed files with 18 additions and 12 deletions

View file

@ -5,6 +5,8 @@ description: Lorem etiam nullam
image: assets/images/pic03.jpg
---
![test image]({{ site.url | absolute_path}}/assets/images/pic03.jpg)
Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis.
Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat.
Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris.

View file

@ -6,7 +6,11 @@
/* Image */
.image {
img {
max-width: 100%;
}
.image {
border: 0;
display: inline-block;
position: relative;