Skip to content

Commit

Permalink
feat: add foucs in env
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed Jul 28, 2022
1 parent 4a27b73 commit f3ba7a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/workbench/browser/src/app/pages/api/api.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<div class="absolute top-0 bottom-0 right-0 flex right-bar" [ngClass]="activeBar ? 'w-[250px]' : 'w-[40px]'">
<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"
Expand Down
3 changes: 3 additions & 0 deletions src/workbench/browser/src/app/pages/api/api.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ nz-divider {
color: rgba(0, 0, 0, 0.5);
cursor: pointer;
transition: all 0.4s ease;
&.active {
color: #00785a;
}
&:hover {
color: #00785a;
background-color: rgba(0, 0, 0, 0.05);
Expand Down

0 comments on commit f3ba7a8

Please sign in to comment.