aitu-dk / webpage

Public Webpage (aitu.group)
https://www.aitu.group
9 stars 9 forks source link

Blog Image ratio #11

Closed ludekcizinsky closed 1 year ago

ludekcizinsky commented 1 year ago

I tried to add blog image which is then showed on the blog page and it looked like this:

Screenshot 2023-02-03 at 10 25 17

I guess the best would be that we agree on ration of these images?

mikasenghaas commented 1 year ago

Interesting, that is normally something I look out for. The best solution here is to have a defined container size and then use "object-fit: cover" in CSS. This will make the image fill out the space in a (usually) nice way. In that way there is a general preferred format (horizontal and not vertical images), but not a pixel-accurate necessary. Working on it

mikasenghaas commented 1 year ago

This should not be an issue with the new Card component.