Skip to content

Commit

Permalink
[hotfix][runtime-web] replace loading icon with text to avoid spin an…
Browse files Browse the repository at this point in the history
…imation bottleneck
  • Loading branch information
yangjunhan authored and zhuzhurk committed Aug 2, 2022
1 parent f6c5dc1 commit 0f77b29
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@
</nz-table>
<flink-resize [(left)]="left" [baseElement]="elementRef" [resizeMin]="390"></flink-resize>
<ng-template #loadingTemplate>
<i nz-icon nzType="loading"></i>
<span class="text-secondary">loading...</span>
</ng-template>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
position: relative;
display: flex;
flex: 1;

.text-secondary {
color: @text-color-secondary;
font-size: @font-size-sm;
}
}

.name {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@
</nz-tabset>

<ng-template #loadingTemplate>
<i nz-icon nzType="loading"></i>
<span class="text-secondary">loading...</span>
</ng-template>
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
width: 100%;
height: 100%;

.text-secondary {
color: @text-color-secondary;
font-size: @font-size-sm;
}

nz-tabset {
height: 100%;
}
Expand Down

0 comments on commit 0f77b29

Please sign in to comment.