Mobile logo rendering incorrectly #31712
Unanswered
Isaac-Tait
asked this question in
Help
Replies: 1 comment
-
My plugins are all up to date (as is gatsby) @:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am running into an odd issue where my mobile screen size logo is being rendered incorrectly. At first, I thought it was a CSS issue but if I comment out the code that switches logos at screen breakpoints the desktop logo renders correctly in the same dimensions that the mobile logo is being shown in... Probably easier to show than try to explain
What it looks like:

What it should look like:

My code in
layout.js
If I remove
then the desktop logo renders on the mobile view. It seems that the mobile logo, which is a square is being squished into the desktop logo space (which is a rectangle)...
This behavior was not present before "upgrading" to
gatsby-plugin-image
... Any pointers/suggestions to fix this would be appreciated. Thank you 😄Beta Was this translation helpful? Give feedback.
All reactions