calintat / minimal

Personal blog theme powered by Hugo
https://themes.gohugo.io/minimal/
MIT License
404 stars 222 forks source link

Improved the responsiveness of img. #25

Closed mariosangiorgio closed 7 years ago

mariosangiorgio commented 7 years ago

Without this tweak, when the viewport is smaller than the image, the image overflows the page. With this commit it will be resized to fit the available width.

I'm not a css expert, but adding this rule makes my website much more usable from mobile. For now I added this extra rule in an additional css, but I think it might be a sensible default

calintat commented 7 years ago

Merged, thanks!