madskristensen / MiniBlog

A minimal blog engine using Razor Web Pages
Other
917 stars 376 forks source link

Picture aspect ratio with WLW: widht and height is set #236

Open LeivoSepp opened 8 years ago

LeivoSepp commented 8 years ago

If you insert picture with WLW, then by default width and height is set. When you resize your web-page then the picture aspect ratio is not kept.

You need to change site.css img and add height:auto;

img, video, iframe {
    max-width: 100%;
    height:auto;
}
jddonovan commented 8 years ago

I have the same issue with Open Live Writer. http://openlivewriter.org/