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

Remove all uses of inset #1369

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Remove all uses of inset #1369

merged 1 commit into from
Feb 23, 2022

Conversation

kmeleta
Copy link
Contributor

@kmeleta kmeleta commented Feb 16, 2022

Why are these changes introduced?

Removes all uses css inset prop. Support for this property is probably technically just short of the "last 2 versions" requirement. https://caniuse.com/mdn-css_properties_inset

What approach did you take?

Replace with good ol' top, bottom, left, right

Other considerations

Testing steps/scenarios

  • Spot check borders and shadows

Demo links

Checklist

@KaichenWang KaichenWang self-requested a review February 16, 2022 20:39
@KaichenWang
Copy link
Contributor

Partially addresses #1376

@ludoboludo ludoboludo self-requested a review February 23, 2022 16:35
Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

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

Looks good 👍

One thing I noticed while testing is the odd image sizing in the cart: screenshot. Which we could prevent by adding align-items: flex-start on the parent div of the image. It happens on version 14 of iOS.

@kmeleta kmeleta merged commit f970646 into main Feb 23, 2022
@kmeleta kmeleta deleted the remove-inset branch February 23, 2022 23:31
@ludoboludo
Copy link
Contributor

Created an issue for what I mentioned in my comment: #1409

phapsidesGT pushed a commit to Gravytrain-UK/gt-shopify-dawn-theme that referenced this pull request Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants