Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

ColinBuyck
Copy link
Collaborator

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:
Screen Shot 2022-09-14 at 12 00 55 PM
Safari:
Screen Shot 2022-09-14 at 12 01 01 PM

@ColinBuyck ColinBuyck changed the title fix: cross-browser image sizing quickfix: cross-browser image sizing Sep 14, 2022
@netlify
Copy link

netlify bot commented Sep 14, 2022

Deploy Preview for detroit-partners-dev ready!

Name Link
🔨 Latest commit 29df631
🔍 Latest deploy log https://app.netlify.com/sites/detroit-partners-dev/deploys/63222690d667b4000882688f
😎 Deploy Preview https://deploy-preview-1441--detroit-partners-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Sep 14, 2022

Deploy Preview for detroit-public-dev ready!

Name Link
🔨 Latest commit 29df631
🔍 Latest deploy log https://app.netlify.com/sites/detroit-public-dev/deploys/63222690e7fb040008ca920f
😎 Deploy Preview https://deploy-preview-1441--detroit-public-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Sep 14, 2022

Deploy Preview for detroit-storybook-dev ready!

Name Link
🔨 Latest commit 29df631
🔍 Latest deploy log https://app.netlify.com/sites/detroit-storybook-dev/deploys/632226904aeab700080216a3
😎 Deploy Preview https://deploy-preview-1441--detroit-storybook-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

@emilyjablonski
Copy link
Collaborator

The image on the home page is not 1-1 with dev right now on Chrome - is that expected? It looks a bit larger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants