Square-shaped logos appear to be 'floating' in some cases with AMP enabled #1618
Labels
released on @alpha
released
[Status] Has pull request
[Type] Bug
Incorrect behavior or functionality
Moved from #1594:
AMP sets images to
object-fit: contain
; if the image has a max-width that's wider than the actual image, you can get this effect of the image floating in the middle of the space. I'm fairly confident this is what's happening here -- it could just be that we need to adjust the logo sizing, or add anobject-position
when the image should be flush left (it doesn't work when there should be something next to the image, since the image "space" is still there, but for mobile-only it could be the best bet!).The text was updated successfully, but these errors were encountered: