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

NoWrapTypography sx prop does not work #818

Merged
merged 7 commits into from
Feb 20, 2024

Conversation

m4manjesh
Copy link
Contributor

@m4manjesh m4manjesh commented Feb 20, 2024

Changes

This PR fixes the with the sx property which was not being applied to the component correctly.

It also solves some usability issues with playwright tests e.g. if a test is force exited and pm2 does not correctly teardown storybook, then subsequent test runs will work where they errored before.

Dependencies

N/A

UI/UX

N/A

Testing notes

  • Make sure you can edit sx prop in storybook and it applies correctly. A vitest test has been added to confirm this,

Author checklist before assigning a reviewer

  • Reviewed my own code-diff.
  • Branch has been run in docker.
  • PR assigned to me or an appropriate delegate.
  • Relevant labels added to the PR.
  • Appropriate tests have been added.
  • Lint and test workflows pass.

@m4manjesh m4manjesh added the bug Something isn't working label Feb 20, 2024
@m4manjesh m4manjesh self-assigned this Feb 20, 2024
@m4manjesh m4manjesh changed the title SX props passig properly SX prop passig properly Feb 20, 2024
@mattcorner mattcorner changed the title SX prop passig properly NoWrapTypography sx prop does not work Feb 20, 2024
@mattcorner mattcorner requested a review from Skoob1905 February 20, 2024 14:55
Copy link
Contributor

@Skoob1905 Skoob1905 left a comment

Choose a reason for hiding this comment

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

Styles can edited and it is reflected in storybook, LGTM

@m4manjesh m4manjesh merged commit a3c529a into main Feb 20, 2024
3 checks passed
@m4manjesh m4manjesh deleted the bug/nowraptypography-sx-passing-wrong branch February 20, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants