-
Notifications
You must be signed in to change notification settings - Fork 298
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
[Wallets] Responsive view for success and password modal #10871
[Wallets] Responsive view for success and password modal #10871
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-adrienne-deriv-success-modal-responsive.binary.sx/ |
@@ -12,16 +12,18 @@ | |||
grid-template-rows: 9% auto; | |||
|
|||
&--fixed { | |||
grid-template-rows: 9% auto 8%; | |||
grid-template-rows: 7% auto 8%; |
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.
Reduced the header height
); | ||
}; | ||
|
||
export default WalletButtonGroup; |
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.
</button> | ||
{!isMobile && ( | ||
<WalletButton | ||
disabled={!password} |
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.
Fixed an issue where the button is not disabled when user has not entered any password. In design the button was disabled when input was empty
Screen.Recording.2023-10-23.at.1.15.49.PM.mov
…deriv-app into success-modal-responsive
…deriv-app into success-modal-responsive
platform='mt5' | ||
/> | ||
))} | ||
</ModalStepWrapper> |
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.
packages/wallets/src/components/Base/ModalStepWrapper/ModalStepWrapper.scss
Outdated
Show resolved
Hide resolved
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.
Let's use the components we already created from the base for this file 😃 👍🏼
packages/wallets/src/features/cfd/screens/EnterPassword/EnterPassword.scss
Outdated
Show resolved
Hide resolved
packages/wallets/src/components/Base/WalletButtonGroup/WalletButtonGroup.tsx
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
…-com#10871) * chore: backup * chore: added responsive view for success and password modal * chore: reverted test changes * chore: removed unused scss file * chore: removed unused scss file * chore: fix eslint issues * chore: fix eslint issues * chore: removed unused css and fix padding issue in header step modal * chore: refactored code based on reviews * chore: remove usage of children * chore: fix eslint issues
…-com#10871) * chore: backup * chore: added responsive view for success and password modal * chore: reverted test changes * chore: removed unused scss file * chore: removed unused scss file * chore: fix eslint issues * chore: fix eslint issues * chore: removed unused css and fix padding issue in header step modal * chore: refactored code based on reviews * chore: remove usage of children * chore: fix eslint issues
Changes:
Please provide a summary of the change.
Screenshots:
WalletButtonGroup
Please provide some screenshots of the change.