Add height to image #2131
-
The image tags do not contain a height attribute (only the width). This can lead to layout shifts while rendering. Google recommends adding the width and height attributes so modern browsers can calculate the aspect ratio automatically: https://web.dev/optimize-cls/#modern-best-practice Is a PR welcome? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
freekmurze
Oct 26, 2020
Replies: 1 comment
-
Send a PR to the v9 branch, and we'll review it there. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
freekmurze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Send a PR to the v9 branch, and we'll review it there.