Keep registration spinner inside the auth modal

The spinner was taking on the full height of the modal and escaping off the
page. This keeps it contained inside the modal.

Fixes https://github.com/vector-im/riot-web/issues/8661
This commit is contained in:
J. Ryan Stinnett 2019-02-27 11:21:35 +00:00
parent 909c6a6d4b
commit 404c60fb0e
2 changed files with 7 additions and 1 deletions

View File

@ -103,3 +103,7 @@ limitations under the License.
text-align: center;
width: 100%;
}
.mx_AuthBody_spinner {
margin: 1em 0;
}

View File

@ -495,7 +495,9 @@ module.exports = React.createClass({
poll={true}
/>;
} else if (this.state.busy || !this.state.flows) {
return <Spinner />;
return <div className="mx_AuthBody_spinner">
<Spinner />
</div>;
} else {
let onEditServerDetailsClick = null;
// If custom URLs are allowed and we haven't selected the Free server type, wire