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 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. 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. 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. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris.

View file

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