badge-generator icon indicating copy to clipboard operation
badge-generator copied to clipboard

Fix image on mobile

Open MichaelCurrin opened this issue 5 years ago • 2 comments

Here we have a horizontal image which has height at 300 and it gets squashed on mobile.

Screenshot_20200909-131514_Chrome

MichaelCurrin avatar Sep 09 '20 11:09 MichaelCurrin

The default I used of 400 height was too large on desktop

I found height better to set than width as vertical space needs to be not huge when using tall or wide image. Perhaps I need to set width instead.

Or height as auto - update: that did nothing.

MichaelCurrin avatar Sep 09 '20 11:09 MichaelCurrin

Here is the page. https://github.com/MichaelCurrin/simplest-jekyll/blob/master/README.md

Using width instead

Screenshot_20200909-132441_Chrome

MichaelCurrin avatar Sep 09 '20 11:09 MichaelCurrin