diff --git a/app/assets/javascripts/strings.ts b/app/assets/javascripts/strings.ts index fe674ae23..9a230d5f6 100644 --- a/app/assets/javascripts/strings.ts +++ b/app/assets/javascripts/strings.ts @@ -46,7 +46,7 @@ export const STRING_INVALID_IMPORT_FILE = "Unable to open file. Ensure it is a p export function StringImportError(errorCount: number) { return `Import complete. ${errorCount} items were not imported because there was an error decrypting them. Make sure the password is correct and try again.`; } -export const STRING_ENTER_ACCOUNT_PASSCODE = 'Enter your application passcode'; +export const STRING_ENTER_ACCOUNT_PASSCODE = 'Enter your application passcode to decrypt your data and unlock the application'; export const STRING_ENTER_ACCOUNT_PASSWORD = 'Enter your account password'; export const STRING_ENTER_PASSCODE_FOR_MIGRATION = 'Your application passcode is required to perform an upgrade of your local data storage structure.'; export const STRING_STORAGE_UPDATE = 'Storage Update'; diff --git a/app/assets/javascripts/views/challenge_modal/challenge-modal.pug b/app/assets/javascripts/views/challenge_modal/challenge-modal.pug index 2c271cff5..e8ad81429 100644 --- a/app/assets/javascripts/views/challenge_modal/challenge-modal.pug +++ b/app/assets/javascripts/views/challenge_modal/challenge-modal.pug @@ -1,5 +1,5 @@ .sk-modal-background(ng-click="ctrl.cancel()") -#privileges-modal.challenge-modal.sk-modal-content +.challenge-modal.sk-modal-content .sn-component .sk-panel .sk-panel-header @@ -7,7 +7,7 @@ .sk-panel-content .sk-panel-section div(ng-repeat="type in ctrl.state.types") - .sk-p.sk-bold.sk-panel-row.centered + .sk-p.sk-panel-row.centered.prompt strong {{ctrl.promptForChallenge(type)}} .sk-panel-row input.sk-input.contrast( diff --git a/app/assets/stylesheets/_modals.scss b/app/assets/stylesheets/_modals.scss index cebc643ec..be8495c7f 100644 --- a/app/assets/stylesheets/_modals.scss +++ b/app/assets/stylesheets/_modals.scss @@ -12,6 +12,11 @@ } .challenge-modal { + max-width: 480px; + + .prompt { + text-align: center; + } .sk-panel .sk-panel-header { justify-content: center; }