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

Change transaction layout to accommodate large numbers in extension #2003

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented Jul 13, 2024

Before After
wallet dev oasis io_account_oasis1qrtyn2q78jv6plrmexrsrv4dh89wv4n49udtg2km(extension375x600 + scrollbar) localhost_3000_account_oasis1qrtyn2q78jv6plrmexrsrv4dh89wv4n49udtg2km(extension375x600 + scrollbar)
wallet dev oasis io_account_oasis1qrtyn2q78jv6plrmexrsrv4dh89wv4n49udtg2km(extension375x600 + scrollbar) (1) localhost_3000_account_oasis1qrtyn2q78jv6plrmexrsrv4dh89wv4n49udtg2km(extension375x600 + scrollbar) (1)
wallet dev oasis io_account_oasis1qrtyn2q78jv6plrmexrsrv4dh89wv4n49udtg2km localhost_3000_account_oasis1qrtyn2q78jv6plrmexrsrv4dh89wv4n49udtg2km

@lukaw3d lukaw3d requested review from buberdds and csillag July 13, 2024 00:17
Copy link

github-actions bot commented Jul 13, 2024

Deployed to Cloudflare Pages

Latest commit: 837f0af27355ee35edd6199a78d6dd358e11283a
Status:✅ Deploy successful!
Preview URL: https://edf68ac6.oasis-wallet.pages.dev

@@ -428,7 +429,7 @@ export function Transaction(props: TransactionProps) {
</Text>
</CardHeader>
<StyledCardBody margin={{ bottom: 'small' }}>
<Box width="75%">
<Box>
Copy link
Contributor

Choose a reason for hiding this comment

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

just a personal preference, prev version looks a bit better on desktop (when tx details adopt to screen width)
we could add style={{ flex: 1 }} here and make attr in L~447 width="max-content" conditional.
Did not test it fully and personally don't care that much about it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't find a good way to prevent wobbly layout yet
image

Copy link
Member Author

Choose a reason for hiding this comment

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

Ignoring for now

@lukaw3d lukaw3d enabled auto-merge July 16, 2024 16:40
@lukaw3d lukaw3d merged commit 5dd71b2 into master Jul 16, 2024
13 checks passed
@lukaw3d lukaw3d deleted the lw/large-nums branch July 16, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants