From c8b38606cc7f0f89186d36c3d33dc8ef603ca048 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 14 Nov 2018 18:40:00 -0700 Subject: [PATCH] Fix terms auth continue button CSS --- res/css/views/login/_InteractiveAuthEntryComponents.scss | 6 ++++-- .../views/login/InteractiveAuthEntryComponents.js | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/res/css/views/login/_InteractiveAuthEntryComponents.scss b/res/css/views/login/_InteractiveAuthEntryComponents.scss index af240498b4..11f55e69f8 100644 --- a/res/css/views/login/_InteractiveAuthEntryComponents.scss +++ b/res/css/views/login/_InteractiveAuthEntryComponents.scss @@ -30,13 +30,15 @@ limitations under the License. border: 1px solid $accent-color; } -.mx_InteractiveAuthEntryComponents_msisdnSubmit { +.mx_InteractiveAuthEntryComponents_msisdnSubmit, +.mx_InteractiveAuthEntryComponents_termsSubmit { margin-top: 4px; margin-bottom: 5px; } // XXX: This should be a common button class -.mx_InteractiveAuthEntryComponents_msisdnSubmit:disabled { +.mx_InteractiveAuthEntryComponents_msisdnSubmit:disabled, +.mx_InteractiveAuthEntryComponents_termsSubmit:disabled { background-color: $light-fg-color; cursor: default; } diff --git a/src/components/views/login/InteractiveAuthEntryComponents.js b/src/components/views/login/InteractiveAuthEntryComponents.js index dce718d3bc..26b93c9fbe 100644 --- a/src/components/views/login/InteractiveAuthEntryComponents.js +++ b/src/components/views/login/InteractiveAuthEntryComponents.js @@ -333,7 +333,9 @@ export const TermsAuthEntry = React.createClass({ let submitButton; if (!this.props.hideContinue) { - submitButton = ; + // XXX: button classes + submitButton = ; } return (