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

Flyout: Responsive, updated sizes + minimum width #743

Merged

Conversation

christianvuerings
Copy link
Contributor

@christianvuerings christianvuerings commented Mar 11, 2020

Makes Flyout responsive between 180px and the specified width. It's especially nice for for flyouts that don't have that much content.

flyout-responsive-before-after

Notes

  • Doesn't make changes to Tooltip - in that case width is set to null so we don't apply minDimensions

Copy link
Contributor

@dangerismycat dangerismycat left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for this!

@christianvuerings christianvuerings merged commit 6194f7f into pinterest:master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants