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: width of price impact speedbump #557

Merged
merged 2 commits into from
Mar 16, 2023
Merged

fix: width of price impact speedbump #557

merged 2 commits into from
Mar 16, 2023

Conversation

just-toby
Copy link
Collaborator

@just-toby just-toby commented Mar 13, 2023

@just-toby just-toby requested a review from cartcrom March 13, 2023 19:42
@vercel
Copy link

vercel bot commented Mar 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
widgets ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 16, 2023 at 5:37PM (UTC)

@vercel vercel bot temporarily deployed to Preview March 13, 2023 19:42 Inactive
@just-toby just-toby requested review from lynnshaoyu and vm March 14, 2023 23:51
@@ -287,23 +287,21 @@ export function SummaryDialog(props: SummaryDialogProps) {
}, [ackPriceImpact, props.impact, showSpeedbump])

return (
<>
<Column style={{ minWidth: isPageCentered ? Math.min(400, width) : 'auto', height: '100%' }} ref={setBoundary}>
Copy link
Contributor

Choose a reason for hiding this comment

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

could something like this work?

{{ minWidth: isPageCentered ? 400 : 'auto', width: isPageCentered: '100%': undefined, height: '100%' }}

Copy link
Contributor

Choose a reason for hiding this comment

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

also, is the 400 here related to the 420 width on speedbump?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nope - this is just the min width of a page centered dialog. i've updated to name this value so it's more understandable.

@just-toby just-toby changed the base branch from main to fix/collapse-toolbar-even-more March 16, 2023 17:17
@just-toby just-toby changed the base branch from fix/collapse-toolbar-even-more to main March 16, 2023 17:29
@just-toby just-toby requested a review from vm March 16, 2023 17:30
@just-toby just-toby merged commit 14b32b4 into main Mar 16, 2023
@just-toby just-toby deleted the fix/warning-modal-746 branch March 16, 2023 17:35
@vercel vercel bot temporarily deployed to Preview March 16, 2023 17:37 Inactive
@github-actions
Copy link

🎉 This PR is included in version 2.48.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants