diff --git a/res/css/views/auth/_InteractiveAuthEntryComponents.scss b/res/css/views/auth/_InteractiveAuthEntryComponents.scss index 8c4f800d19..972acdc2ab 100644 --- a/res/css/views/auth/_InteractiveAuthEntryComponents.scss +++ b/res/css/views/auth/_InteractiveAuthEntryComponents.scss @@ -60,7 +60,3 @@ limitations under the License. .mx_InteractiveAuthEntryComponents_passwordSection { width: 300px; } - -.mx_InteractiveAuthEntryComponents_passwordSection input { - width: 100%; -} diff --git a/res/css/views/dialogs/_DeactivateAccountDialog.scss b/res/css/views/dialogs/_DeactivateAccountDialog.scss index 619310a543..192917b2d0 100644 --- a/res/css/views/dialogs/_DeactivateAccountDialog.scss +++ b/res/css/views/dialogs/_DeactivateAccountDialog.scss @@ -22,9 +22,6 @@ limitations under the License. margin-top: 60px; } -.mx_DeactivateAccountDialog .mx_DeactivateAccountDialog_input_section input[type=password] { +.mx_DeactivateAccountDialog .mx_DeactivateAccountDialog_input_section .mx_Field { width: 300px; - border: 1px solid $accent-color; - border-radius: 5px; - padding: 10px; } diff --git a/src/components/views/auth/InteractiveAuthEntryComponents.js b/src/components/views/auth/InteractiveAuthEntryComponents.js index 0e866ad586..b52dac44a9 100644 --- a/src/components/views/auth/InteractiveAuthEntryComponents.js +++ b/src/components/views/auth/InteractiveAuthEntryComponents.js @@ -137,6 +137,7 @@ export const PasswordAuthEntry = React.createClass({

{ _t("To continue, please enter your password.") }

: _t('Deactivate Account'); - const okEnabled = this.state.confirmButtonEnabled && !this.state.busy; + const okEnabled = this.state.password && !this.state.busy; let cancelButton = null; if (!this.state.busy) { @@ -113,6 +113,8 @@ export default class DeactivateAccountDialog extends React.Component { ; } + const Field = sdk.getComponent('elements.Field'); + return (

{ _t("To continue, please enter your password:") }

- {this._passwordField = e;}} className={passwordBoxClass} />