-
Notifications
You must be signed in to change notification settings - Fork 5.2k
feat: updating popup width of extension from 357px to 400px #31443
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<!doctype html> | ||
<html style="width:357px; height:600px;" dir="ltr"> | ||
<html style="width:400px; height:600px;" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
<title>MetaMask</title> | ||
<link rel="preload" href="/_locales/en/messages.json" as="fetch" crossorigin="anonymous" /> | ||
<link rel="stylesheet" href="../ui/css/index.scss" /> | ||
</head> | ||
<body style="width:357px; height:600px;"> | ||
<body style="width:400px; height:600px;"> | ||
Comment on lines
+2
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating other instances of |
||
<div id="app-content"> | ||
<img class="loading-logo" src="./images/logo/metamask-fox.svg" alt="" loading="lazy" /> | ||
<img class="loading-spinner" src="./images/spinner.gif" alt="" loading="lazy" /> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ const MODALS = { | |
}, | ||
laptopModalStyle: { | ||
width: | ||
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '357px' : '449px', | ||
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '400px' : '449px', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating modal CSS in the deprecated Modal component |
||
top: 'calc(33% + 45px)', | ||
paddingLeft: | ||
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '16px' : null, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ const animationEventEmitter = new EventEmitter(); | |
|
||
const containerStyle = { | ||
height: '600px', | ||
width: '357px', | ||
width: '400px', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating other instances of |
||
border: '1px solid black', | ||
display: 'flex', | ||
flexFlow: 'column', | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: center; | ||
width: 357px; | ||
width: 400px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating the unlock page CSS, although this shouldn't be necessary if the page is coded correctly. This will be removed in a future refactor of the unlock page during the onboarding redesign. |
||
padding: 30px; | ||
font-weight: 400; | ||
|
||
|
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.
Updating the inline CSS and ensuring there are no remaining instances of
357
that affect the width of the extension.after.mov