From 3da5049dc7cc983a31c12f14962387bba5d22ca1 Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Tue, 12 Jan 2021 17:08:42 +0200 Subject: [PATCH] WIP minimize --- res/css/views/dialogs/_HostSignupDialog.scss | 10 +++ .../views/dialogs/HostSignupDialog.tsx | 87 ++++++++++--------- 2 files changed, 56 insertions(+), 41 deletions(-) diff --git a/res/css/views/dialogs/_HostSignupDialog.scss b/res/css/views/dialogs/_HostSignupDialog.scss index ee86608ed4..1cc6677d26 100644 --- a/res/css/views/dialogs/_HostSignupDialog.scss +++ b/res/css/views/dialogs/_HostSignupDialog.scss @@ -14,9 +14,14 @@ See the License for the specific language governing permissions and limitations under the License. */ +.mx_HostSignupDialog { + z-index: unset; +} + .mx_HostSignupBaseDialog { max-height: 600px; width: 580px; + position: inherit; .mx_HostSignupDialog_container { height: 90%; @@ -42,3 +47,8 @@ limitations under the License. .mx_HostSignupBaseDialog_minimized { display: none; } + +.mx_HostSignupDialog_persisted { + width: 580px; + height: 600px; +} diff --git a/src/components/views/dialogs/HostSignupDialog.tsx b/src/components/views/dialogs/HostSignupDialog.tsx index fd4bdca30f..90b33e48bc 100644 --- a/src/components/views/dialogs/HostSignupDialog.tsx +++ b/src/components/views/dialogs/HostSignupDialog.tsx @@ -18,6 +18,7 @@ import * as React from "react"; import BaseDialog from '../../views/dialogs/BaseDialog'; import GenericToast from "../toasts/GenericToast"; import Modal from "../../../Modal"; +import PersistedElement from "../elements/PersistedElement"; import QuestionDialog from './QuestionDialog'; import SdkConfig from "../../../SdkConfig"; import ToastStore from "../../../stores/ToastStore"; @@ -100,6 +101,7 @@ export default class HostSignupDialog extends React.PureComponent { @@ -163,51 +165,54 @@ export default class HostSignupDialog extends React.PureComponent - -
- {this.state.loadIframe && -