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

Keep registration spinner inside the auth modal #2712

Merged
merged 1 commit into from
Feb 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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