-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quickfix: cross-browser image sizing #1441
Conversation
✅ Deploy Preview for detroit-partners-dev ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for detroit-public-dev ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for detroit-storybook-dev ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@@ -67,18 +67,6 @@ export const Overlay = (props: OverlayProps) => { | |||
} | |||
}, [elForPortal, overlayRoot]) | |||
|
|||
// // disable body scrolling when the overlay is open |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
The image on the home page is not 1-1 with dev right now on Chrome - is that expected? It looks a bit larger |
This PR addresses the image width discrepancy seen on the dev site between Chrome and Safari. After some discussions with @ludtkemorgan, it seems that it is coming from the browsers' handling of css specificity since the image card properties are running into the listings-row css properties and handling them differently. Switching these two properties addressed the issue, and when we bring the updated image back to Core, we should further investigate the source of this issue.
Chrome:
Safari: