Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

[Bug]: Browser Console Error "Image with src "/_next/static/media/grants-gov-logo.7f89963e.png" has either width or height modified" #165

Closed
1 task done
acouch opened this issue Jul 23, 2024 · 1 comment
Labels
bug Something isn't working Migrated

Comments

@acouch
Copy link
Member

acouch commented Jul 23, 2024

Contact Details

No response

What happened?

The following appears in the browser console:

Image with src "/_next/static/media/grants-gov-logo.7f89963e.png" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio

Removing .maxh-15 fixes it but creates a visual issue on mobile. See: #101 (comment)

Steps to reproduce the behavior

View site in locally with the browser console open.

Priority

low (inconvenience)

Relevant log output

see above

Screenshots and additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Migrated
Projects
None yet
Development

No branches or pull requests

1 participant