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: Support marginTop and marginBottom on ListBox #2844

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

NicholasBoll
Copy link
Member

@NicholasBoll NicholasBoll commented Jul 26, 2024

Summary

Adds correct support for marginTop and marginBottom on ListBox and Menu.List components.

Release Category

Components


Checklist

For the Reviewer

  • PR title is short and descriptive
  • PR summary describes the change (Fixes/Resolves linked correctly)

Testing Manually

Changing the marginTop or marginBottom of ListBox examples or Menu.List examples.

Screenshots or GIFs (if applicable)

image

@NicholasBoll NicholasBoll added the ready for review Code is ready for review label Jul 26, 2024
@github-actions github-actions bot requested a review from mannycarrera4 July 26, 2024 21:01
Comment on lines +95 to +96
marginTop={marginTop ?? marginY}
marginBottom={marginBottom ?? marginY}
Copy link
Member Author

Choose a reason for hiding this comment

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

Using ?? instead of || to support 0 which is a falsy value.

Copy link

cypress bot commented Jul 26, 2024

Passing run #7497 ↗︎

0 974 3 0 Flakiness 0

Details:

Merge a3f3bb9 into b91f5e0...
Project: Workday/canvas-kit Commit: 2715edf77f ℹ️
Status: Passed Duration: 05:11 💡
Started: Jul 26, 2024 9:07 PM Ended: Jul 26, 2024 9:13 PM

Review all test suite changes for PR #2844 ↗︎

@NicholasBoll NicholasBoll added automerge and removed ready for review Code is ready for review labels Jul 29, 2024
@alanbsmith alanbsmith enabled auto-merge (squash) July 29, 2024 16:48
@alanbsmith alanbsmith merged commit f671fde into Workday:support Jul 29, 2024
27 checks passed
@NicholasBoll NicholasBoll deleted the fix/margin-on-listbox branch July 29, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants