Gravatar displayed using incorrect aspect ratio
-
When analysing pages using Google Lighthouse, the Best Practices section lists wpDiscuz avatars under “Displays images with incorrect aspect ratio”.
A close inspection shows that the style selector
#wpdcom.wpd-layout-2 .wpd-comment .wpd-avatar img, #wpdcom.wpd-layout-2 .wpd-comment .wpd-avatar img.avatarhas the following styles:width: 48px; height: 48px; max-width: 48px; border-bottom: 2px solid #cccccc; padding: 1px;This causes the browser to allocate only 46×44 pixels for the image, which is not the correct aspect ratio for a 64×64 pixel image.
Fixing this (minor issue) can help site owners score more points for best practices.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Gravatar displayed using incorrect aspect ratio’ is closed to new replies.