-
Notifications
You must be signed in to change notification settings - Fork 193
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: contained tokenlist height #531
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/components/TokenSelect/index.tsx
Outdated
style={{ | ||
minWidth: isPageCentered ? Math.min(400, width) : 'auto', | ||
minHeight: isPageCentered ? 'unset' : '100%', | ||
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you do this with $isPageCentered
as a transient styled-component prop and something like min(400px, 100vw)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment
ddaec27
to
c57299d
Compare
Screen.Recording.2023-03-03.at.11.50.35.AM.mov |
🎉 This PR is included in version 2.44.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes a bug where the token list was being cut off in the non-page-centered version of the widget.