Skip to content

Commit b567dd0

Browse files
committed
Improve style of web warning content
1 parent 3fa8658 commit b567dd0

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the [FAQ](FAQ.md) for more details about common questions.
1414

1515
This wallet uses [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity). Current bundle hashes:
1616

17-
* Main bundle: `bundle.js -> sha256-+ICGGEG3+zTl8xaDdqIMWhjejc6JRoawg0op1v0BtpI=`
17+
* Main bundle: `bundle.js -> sha256-8v2Qeokts8FkEjmpQfOcyBGwtFtdsxIJtMqCyNBQlxg=`
1818
* Optional Ledger bundle: `bundle-ledger.js -> sha256-gyjTPsWBD1Fqoag13jj1/Z1o8tsAIJ/pAbYGKqZ7IC4=`
1919

2020
Advanced users can verify the source integrity by comparing the hashes in their page source to these values.

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export enum CeloContract {
1818
const debugMode = __DEBUG__ ?? false
1919
// @ts-ignore Defined by webpack define plugin
2020
const isElectron = __IS_ELECTRON__ ?? false
21+
// const isElectron = true
2122
// @ts-ignore Defined by webpack define plugin
2223
const version = __VERSION__ || null
2324

src/features/download/WebWalletWarning.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface Props {
1616
export function WebWalletWarning({ type, onClose }: Props) {
1717
const caseText =
1818
type === 'create'
19-
? 'If you plan to use this account for large amounts'
19+
? 'If you will use large amounts in this account'
2020
: 'If you are importing a large account'
2121

2222
return (
@@ -74,7 +74,8 @@ const style: Stylesheet = {
7474
padding: '0 0.5em',
7575
},
7676
warningIcon: {
77-
height: '1.4em',
78-
width: '1.5em',
77+
height: '1.2em',
78+
width: '1.35em',
79+
paddingTop: 1,
7980
},
8081
}

0 commit comments

Comments
 (0)