From bda4bd6313284c3a44fbc607362bbe9854a5b1e4 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 10 Jul 2018 20:49:58 -0700 Subject: [PATCH] Tweak UI --- app/scenes/Settings/Profile.js | 20 +++++++++++++------- app/scenes/UserDelete.js | 6 +++--- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/app/scenes/Settings/Profile.js b/app/scenes/Settings/Profile.js index e989889e9..7a24e14aa 100644 --- a/app/scenes/Settings/Profile.js +++ b/app/scenes/Settings/Profile.js @@ -103,14 +103,15 @@ class Profile extends React.Component { {isSaving ? 'Saving…' : 'Save'} -

 

-

Delete Account

-

- You may delete your account at any time, note that this is - unrecoverable.{' '} - Delete account. -

+ + Delete Account +

+ You may delete your account at any time, note that this is + unrecoverable.{' '} + Delete account. +

+
{this.showDeleteModal && ( )} @@ -119,6 +120,11 @@ class Profile extends React.Component { } } +const DangerZone = styled.div` + position: absolute; + bottom: 16px; +`; + const ProfilePicture = styled(Flex)` margin-bottom: 24px; `; diff --git a/app/scenes/UserDelete.js b/app/scenes/UserDelete.js index ede7e857b..00f332441 100644 --- a/app/scenes/UserDelete.js +++ b/app/scenes/UserDelete.js @@ -42,11 +42,11 @@ class UserDelete extends React.Component { Are you sure? Deleting your account will destory identifying data associated with your user and cannot be undone. You will be - immediately logged out of Outline. + immediately logged out of Outline and all your API tokens will be + revoked. - - Note: Signing back in will cause your account to + Note: Signing back in will cause a new account to be automatically reprovisioned.