foss-responders / fossresponders.com

The website for FOSS Responders
https://fossresponders.com
MIT License
20 stars 8 forks source link

Fixes image ratio and adds link #121

Closed SaptakS closed 4 years ago

SaptakS commented 4 years ago

Fixes #119 to some extent. It kind of makes the behaviour consistent over browsers (previously firefox was behaving okay but chrome was stretching image because of how they compute height:auto with max-width) and now there is no stretching. I still feel it might be worth discussing if we put evenly sized square images for the thumbnail. But this fix should make the images look non-stretched.

Also takes care of #120 to some extent. This PR adds the link to the actual blog. Right now the logic is such that apart from the two latest blog posts, every other blog post is shown in that area. Since there has only been 3 blog posts, it looks lonely and alone. A heading of some sort to denote this might be worth it. Like "Other Posts" or "More Posts" or something.

RichardLitt commented 4 years ago

Thank you, @SaptakS! This is great, and timely. We have another blogpost now, so I think that should make that one post a bit less alone, too.