From c337485d9081402bf0a2839daf48ae3f2922ba54 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 20 Jun 2017 15:01:53 +0100 Subject: [PATCH] Redesign the warning to be red text, move below "Sign out" --- src/components/structures/UserSettings.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js index 58ae46e18a..686e63cd75 100644 --- a/src/components/structures/UserSettings.js +++ b/src/components/structures/UserSettings.js @@ -1214,15 +1214,14 @@ module.exports = React.createClass({

{ _t("Account") }

- { this.state.userHasGeneratedPassword ? -
- Warning - { _t("To return to your account in future you need to set a password") } -
: null - } { _t("Sign out") } + { this.state.userHasGeneratedPassword ? +
+ { _t("To return to your account in future you need to set a password") } +
: null + } {accountJsx}