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

Fix overlay position #1201

Merged
merged 3 commits into from
Apr 30, 2021
Merged

Fix overlay position #1201

merged 3 commits into from
Apr 30, 2021

Conversation

T-Hugs
Copy link
Contributor

@T-Hugs T-Hugs commented Apr 30, 2021

Fixes overlay position. Since we were passing a number to the "top" and "left" props, they were getting converted to "space.x" where x is one of the primitives (so 4 would become 24px).

Closes #[internal issue 138]

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

@changeset-bot
Copy link

changeset-bot bot commented Apr 30, 2021

🦋 Changeset detected

Latest commit: ed3aba1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Apr 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primer-components/HCnYt9XtePdjjrihwAnu99uod1ku
✅ Preview: https://primer-components-git-fix-overlay-position-primer.vercel.app

Copy link
Member

@dgreif dgreif left a comment

Choose a reason for hiding this comment

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

Nice! I have been wondering why these were thrown off over the last week. Bad refactor on my part I guess 😅 . Really appreciate you tracking this down so quickly

@vercel vercel bot temporarily deployed to Preview April 30, 2021 19:11 Inactive
@vercel vercel bot temporarily deployed to Preview April 30, 2021 19:29 Inactive
@dgreif dgreif merged commit 3c13d03 into main Apr 30, 2021
@dgreif dgreif deleted the fix-overlay-position branch April 30, 2021 19:36
@github-actions github-actions bot mentioned this pull request Apr 30, 2021
VanAnderson pushed a commit that referenced this pull request May 3, 2021
Co-authored-by: dgreif <dustin.greif@gmail.com>
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.

None yet

3 participants