Merge pull request #2712 from jryans/reg-spinner

Keep registration spinner inside the auth modal
This commit is contained in:
David Baker 2019-02-27 11:50:22 +00:00 committed by GitHub
commit c4db9dc315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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