Skip to content

avoid sudden layout shifts caused by images

According to https://web.dev/optimize-cls/#modern-best-practice, setting width and height is to set the aspect ratio of the image. It won't solely determine the real image size. But this measure eliminates the layout shifts during the rendering process.

Merge request reports