diff --git a/res/css/views/auth/_InteractiveAuthEntryComponents.pcss b/res/css/views/auth/_InteractiveAuthEntryComponents.pcss index dfa27ee1208..81bc958e19b 100644 --- a/res/css/views/auth/_InteractiveAuthEntryComponents.pcss +++ b/res/css/views/auth/_InteractiveAuthEntryComponents.pcss @@ -1,5 +1,6 @@ /* Copyright 2017 Vector Creations Ltd +Copyright 2023 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,6 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ +.mx_InteractiveAuthEntryComponents { + .mx_InteractiveAuthEntryComponents_termsSubmit { + margin-top: 20px; + margin-bottom: 5px; + width: 100%; + box-sizing: border-box; /* prevent overflowing */ + } +} + .mx_InteractiveAuthEntryComponents_msisdnWrapper { text-align: center; } @@ -35,24 +45,12 @@ limitations under the License. margin-bottom: 5px; } -.mx_InteractiveAuthEntryComponents_termsSubmit { - margin-top: 20px; - margin-bottom: 5px; - display: block; - width: 100%; -} - /* XXX: This should be a common button class */ .mx_InteractiveAuthEntryComponents_msisdnSubmit:disabled { background-color: $light-fg-color; cursor: default; } -.mx_InteractiveAuthEntryComponents_termsSubmit:disabled { - background-color: #92caad; /* Only used here */ - cursor: default; -} - .mx_InteractiveAuthEntryComponents_termsPolicy { display: flex; flex-direction: row; diff --git a/src/components/views/auth/InteractiveAuthEntryComponents.tsx b/src/components/views/auth/InteractiveAuthEntryComponents.tsx index 8910b91945c..58923c63e42 100644 --- a/src/components/views/auth/InteractiveAuthEntryComponents.tsx +++ b/src/components/views/auth/InteractiveAuthEntryComponents.tsx @@ -386,20 +386,20 @@ export class TermsAuthEntry extends React.Component {_t("Accept")} - + ); } return ( -
+

{_t("Please review and accept the policies of this homeserver:")}

{checkboxes} {errorSection}