It would be nice if the CSS in OOTSB themes would be updated to utilize aspect-ratio instead of padding-top for image and video positioning in CSS. This should help reduce the cumulative layout shift that results from images and videos resizing. I've updated it on stores of ours that use Turbo and Flex and seen a reduction in CLS. Not sure about needing a fallback for older browsers. https://web.dev/aspect-ratio/
Please sign in to leave a comment.