diff --git a/res/css/_components.scss b/res/css/_components.scss index 50e8eb11d1..2734939ae3 100644 --- a/res/css/_components.scss +++ b/res/css/_components.scss @@ -34,6 +34,7 @@ @import "./views/dialogs/_ConfirmUserActionDialog.scss"; @import "./views/dialogs/_CreateGroupDialog.scss"; @import "./views/dialogs/_CreateRoomDialog.scss"; +@import "./views/dialogs/_DeactivateAccountDialog.scss"; @import "./views/dialogs/_DevtoolsDialog.scss"; @import "./views/dialogs/_EncryptedEventDialog.scss"; @import "./views/dialogs/_GroupAddressPicker.scss"; diff --git a/res/css/views/dialogs/_DeactivateAccountDialog.scss b/res/css/views/dialogs/_DeactivateAccountDialog.scss new file mode 100644 index 0000000000..dc76da5b15 --- /dev/null +++ b/res/css/views/dialogs/_DeactivateAccountDialog.scss @@ -0,0 +1,23 @@ +/* +Copyright 2018 New Vector Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +.mx_DeactivateAccountDialog .mx_Dialog_content { + margin-bottom: 30px; +} + +.mx_DeactivateAccountDialog .mx_DeactivateAccountDialog_input_section { + margin-top: 60px; +} diff --git a/src/components/views/dialogs/DeactivateAccountDialog.js b/src/components/views/dialogs/DeactivateAccountDialog.js index 104419f2ef..761a1e4209 100644 --- a/src/components/views/dialogs/DeactivateAccountDialog.js +++ b/src/components/views/dialogs/DeactivateAccountDialog.js @@ -162,50 +162,58 @@ export default class DeactivateAccountDialog extends React.Component {
{ _t( "This will make your account permanently unusable. " + - "You will not be able to log in, and no one will be able " + - "to re-register the same user ID. " + + "You will not be able to log in, and no one will be able to re-register the same " + + "user ID. " + + "This will cause your account to leave all rooms it is participating in, and it " + + "will remove your account details from your identity server. " + "This action is irreversible.", {}, { b: (sub) => { sub } }, ) }
{ _t( - "Deactivating your account does not by default erase messages you have sent. " + - "If you would like to erase your messages, please tick the box below.", + "Deactivating your account does not by default cause us to forget messages you " + + "have sent. " + + "If you would like us to forget your messages, please tick the box below.", {}, { b: (sub) => { sub } }, ) }
{ _t( "Message visibility in Matrix is similar to email. " + - "Erasing your messages means that messages have you sent will not be shared with " + - "any new or unregistered users, but registered users who already had access to " + - "these messages will still have access to their copy.", + "Our forgetting your messages means that messages you have sent will not be shared " + + "with any new or unregistered users, but registered users who already have access " + + "to these messages will still have access to their copy.", ) }
-{ _t("To continue, please enter your password:") }
- {this._passwordField = e;}} - className={passwordBoxClass} - /> ++ +
-- -
+{ _t("To continue, please enter your password:") }
+ {this._passwordField = e;}} + className={passwordBoxClass} + /> +