Right now all news images have the same height and width, and when it does not match the container (which it rarely does), it gets cropped.
The following needs to be fixed:
- set
objectFit on the image component to "contain" (see reference)
- Match the image width to its container. Probably easiest using fill and a div
Right now all news images have the same height and width, and when it does not match the container (which it rarely does), it gets cropped.
The following needs to be fixed:
objectFiton the image component to"contain"(see reference)