Skip to content

Commit

Permalink
feat: update dom api.component.html
Browse files Browse the repository at this point in the history
kungfuboy committed Jul 28, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent ece5603 commit 2e3dbc2
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions src/workbench/browser/src/app/pages/api/api.component.html
Original file line number Diff line number Diff line change
@@ -79,21 +79,30 @@
</nz-tab>
</nz-tabset>
</div>
<!-- <eo-split-panel direction="row"> -->
<section class="relative" [ngClass]="activeBar ? 'pr-[250px]' : 'pr-[40px]'">
<router-outlet></router-outlet>
<div class="absolute top-0 bottom-0 right-0 flex right-bar" [ngClass]="activeBar ? 'w-[250px]' : 'w-[40px]'">
<eo-split-panel direction="row">
<div top>
<router-outlet></router-outlet>
</div>
<div
class="flex items-center justify-center w-[40px] p-2 h-10 env-icon"
[ngClass]="activeBar ? 'active' : ''"
(click)="toggleRightBar()"
nz-tooltip
i18n-nzTooltipTitle="@@Environment Setting"
nzTooltipTitle="Environment Setting"
bottom
class="absolute top-0 bottom-0 right-0 flex right-bar"
[ngClass]="activeBar ? 'w-[250px]' : 'w-[40px]'"
>
<eo-iconpark-icon name="instruction"></eo-iconpark-icon>
<div
class="flex items-center justify-center w-[40px] p-2 h-10 env-icon"
[ngClass]="activeBar ? 'active' : ''"
(click)="toggleRightBar()"
nz-tooltip
i18n-nzTooltipTitle="@@Environment Setting"
nzTooltipTitle="Environment Setting"
>
<eo-iconpark-icon name="instruction"></eo-iconpark-icon>
</div>
<eo-env *ngIf="activeBar" class="flex-auto" (statusChange)="toggleRightBar(false)"></eo-env>
</div>
<eo-env *ngIf="activeBar" class="flex-auto" (statusChange)="toggleRightBar(false)"></eo-env>
</div>
</eo-split-panel>
</section>
</div>
</nz-content>

0 comments on commit 2e3dbc2

Please sign in to comment.