A picture on your phone cuts off a face or inscription — cover or container?
The same image may look good on the computer and bad in a narrow card. The reason is object-fit: cover, which fills the frame by cutting down some of the graphics.
Step by step
1. Check with the inspector the dimensions of the picture and its parent. If the parent has a rigid height and a desktop aspect image, the cover must remove a fragment of the sides or mountains.
2 . For a page or graphics drop with text, choose the content or natural height. The empty space around the image is often better than the loss of content.
3 . For a photo that can be cut, set object-position to an important area. Do not treat this as a universal amendment: with very different proportions, separate staff are needed.
4 . In Next.js, specify the correct size so the phone doesn't download a big picture unnecessarily. Book a seat by the widget and the height or the aspect-ratio so the deal doesn't jump.
5 . Test 320, 390, 430 and 768 px, enlarge text and state of the developed card. See if the description is on the important part of the drop.
How to check whether the amendment works
All important frames and subtitles are visible, the image does not go beyond the screen, and opening the project does not cause horizontal scrolling of the document. Rate a real browser, not just code compilation.