Skip to content

Commit

Permalink
fix: extension detail skeleton not show
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Feb 17, 2023
1 parent 11bc7ba commit 2059912
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<!-- Details -->
<eo-ng-tab i18n-nzTitle="@@ExtensionDetail" nzTitle="Details">
<div class="h-full overflow-auto tab-content-container pt-[10px]">
<nz-skeleton [nzLoading]="introLoading" [nzActive]="true">
<nz-skeleton [nzLoading]="introLoading" [nzActive]="true" [class]="{ loading: introLoading }">
<eo-shadow-dom class="md-preview" [text]="extensionDetail.introduction" [options]="{ html: true }"> </eo-shadow-dom>
</nz-skeleton>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.ant-skeleton {
display: block;

&[ng-reflect-nz-loading='true'] {
&.loading {
display: table;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
width: 100%;
height: 100%;

eo-ng-tree-default {
height: calc(62vh - 32px);
overflow: auto;
display: block;
}

eo-ng-auto-complete input {
border-radius: 999px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export class ExtensionComponent implements OnInit {
}
this.selectExtension('');
this.setGroup(key);
this.nzSelectedKeys = [key];
}

@action setGroup(data) {
Expand Down

0 comments on commit 2059912

Please sign in to comment.