Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 02066d7

Browse files
fix: spinner position
1 parent 635f4cb commit 02066d7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

studio/src/app/pages/editor/app-editor/app-editor.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,9 @@ export class AppEditor {
587587
if (this.slidesFetched) {
588588
return undefined;
589589
} else {
590-
return <ion-spinner color="primary"></ion-spinner>;
590+
return <div class="spinner">
591+
<ion-spinner color="primary"></ion-spinner>
592+
</div>;
591593
}
592594
}
593595
}

studio/src/global/theme/editor/editor-loading.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
main {
2-
ion-spinner {
2+
div.spinner {
33
position: absolute;
44
top: 50%;
55
left: 50%;

0 commit comments

Comments
 (0)