Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2712 from jryans/reg-spinner
Browse files Browse the repository at this point in the history
Keep registration spinner inside the auth modal
  • Loading branch information
dbkr authored Feb 27, 2019
2 parents 909c6a6 + 404c60f commit c4db9dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions res/css/views/auth/_AuthBody.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,7 @@ limitations under the License.
text-align: center;
width: 100%;
}

.mx_AuthBody_spinner {
margin: 1em 0;
}
4 changes: 3 additions & 1 deletion src/components/structures/auth/Registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4db9dc

Please sign in to comment.