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

Update modal styles on mobile #898

Merged
merged 7 commits into from
Nov 28, 2024
Merged

Update modal styles on mobile #898

merged 7 commits into from
Nov 28, 2024

Conversation

r-czajkowski
Copy link
Contributor

@r-czajkowski r-czajkowski commented Nov 26, 2024

Closes: AENG-36
Closes: AENG-37

This PR updates the modal component styles on mobile devices.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for acre-dapp-testnet ready!

Name Link
🔨 Latest commit d94b6c2
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp-testnet/deploys/6745b1e2b683930008d668a9
😎 Deploy Preview https://deploy-preview-898--acre-dapp-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for acre-dapp ready!

Name Link
🔨 Latest commit d94b6c2
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp/deploys/6745b1e2d6c61200080c9bde
😎 Deploy Preview https://deploy-preview-898--acre-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for acre-dapp-testnet ready!

Name Link
🔨 Latest commit b37293e
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp-testnet/deploys/6748626b26f66200085f2512
😎 Deploy Preview https://deploy-preview-898--acre-dapp-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for acre-dapp ready!

Name Link
🔨 Latest commit b37293e
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp/deploys/6748626b89db2c00081d9ac5
😎 Deploy Preview https://deploy-preview-898--acre-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@kkosiorowska kkosiorowska left a comment

Choose a reason for hiding this comment

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

Overall it looks good but I have a few thoughts:

  • Let's not change padding in modal windows for standalone dApp.

Before
Screenshot 2024-11-27 at 09 36 49

Current solution
Screenshot 2024-11-27 at 09 36 28

  • Some time ago we decided to show modal windows on top for mobile devices. More information here.

Before
Screenshot 2024-11-27 at 09 45 11

Current solution
Screenshot 2024-11-27 at 09 44 39

  • I have tested the smallest window for Ledger Live desktop and it seems to me that we should not change the padding for such a window size yet. What do you think? 🤔

Before
Screenshot 2024-11-27 at 09 49 46

Current solution
Screenshot 2024-11-27 at 09 48 51

@nkuba nkuba requested a review from kkosiorowska November 28, 2024 08:42
There is no need to change the modal width - we should use the previous
value.
The `ModalHeader` and `ModalBoyd` components should have the same
horizontal padding.
@kkosiorowska kkosiorowska merged commit 524e309 into main Nov 28, 2024
28 checks passed
@kkosiorowska kkosiorowska deleted the update-deposit-ui-mobile branch November 28, 2024 12:40
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