-
Notifications
You must be signed in to change notification settings - Fork 61
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
Improve modal styles on mobile #277
Conversation
@@ -4,12 +4,15 @@ import { Theme } from "src/styles/theme"; | |||
|
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.
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.
Mmmm what do you mean by broken? Which device where you trying to test? It seems that it has very low height.
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.
I mean that I can not scroll down and see the complete modal. I'm using Chrome Desktop and reducing the width to 480.
@@ -4,12 +4,15 @@ import { Theme } from "src/styles/theme"; | |||
|
|||
export const useConfirmationModalStyles = createUseStyles((theme: Theme) => ({ |
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.
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.
No mobile phone has 330px width nowadays... I took as a reference a Pixel 5 (a mobile phone from 3 years ago) and an iPhone SE (released in 2016) to test it and it works fine on that mobiles. Same for the comment below.
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.
ok, if we don't care about these resolutions, it's all ok. Approved.
@@ -29,10 +29,16 @@ export const useNetworkBoxStyles = createUseStyles((theme: Theme) => ({ | |||
alignItems: "center", |
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.
What does this PR does?
This PR improves the modal styles on mobile devices as users were not able to type the "I understand" phrase check on smaller devices due to the big margin top on them.
Checklist
These are the criteria that every PR should meet, please check them off as you
review them: