diff --git a/src/portal/src/app/base/harbor-shell/harbor-shell.component.html b/src/portal/src/app/base/harbor-shell/harbor-shell.component.html index 7ba9ecbf2..bbc1bfb77 100644 --- a/src/portal/src/app/base/harbor-shell/harbor-shell.component.html +++ b/src/portal/src/app/base/harbor-shell/harbor-shell.component.html @@ -1,6 +1,6 @@ - +
- +
diff --git a/src/portal/src/app/base/navigator/navigator.component.scss b/src/portal/src/app/base/navigator/navigator.component.scss index 491289d78..7a2624c3b 100644 --- a/src/portal/src/app/base/navigator/navigator.component.scss +++ b/src/portal/src/app/base/navigator/navigator.component.scss @@ -31,8 +31,10 @@ } .nav-about-link { - padding-left: 12px !important; - padding-right: 12px !important; + padding-left: 1.6rem !important; + padding-right: 1rem !important; + min-width: 125px; + text-align: left !important; } .harbor-logo { @@ -47,7 +49,7 @@ left: -8px; } .currentLang { - padding-right: 8px; + padding-right: 30px; } } @@ -62,4 +64,7 @@ } .dropdown-item { outline: none; +} +.dropdown-lang { + padding-right: 1.3rem; } \ No newline at end of file diff --git a/src/portal/src/app/base/navigator/navigator.component.ts b/src/portal/src/app/base/navigator/navigator.component.ts index 2bcc194b1..1b23c5fdd 100644 --- a/src/portal/src/app/base/navigator/navigator.component.ts +++ b/src/portal/src/app/base/navigator/navigator.component.ts @@ -38,7 +38,7 @@ import { SkinableConfig } from "../../skinable-config.service"; export class NavigatorComponent implements OnInit { // constructor(private router: Router){} @Output() showAccountSettingsModal = new EventEmitter(); - @Output() showPwdChangeModal = new EventEmitter(); + @Output() showDialogModalAction = new EventEmitter(); selectedLang: string = enLang; appTitle: string = 'APP_TITLE.HARBOR'; @@ -132,7 +132,7 @@ export class NavigatorComponent implements OnInit { // Open change password dialog openChangePwdModal(): void { - this.showPwdChangeModal.emit({ + this.showDialogModalAction.emit({ modalName: modalEvents.CHANGE_PWD, modalFlag: true }); @@ -140,7 +140,7 @@ export class NavigatorComponent implements OnInit { // Open about dialog openAboutDialog(): void { - this.showPwdChangeModal.emit({ + this.showDialogModalAction.emit({ modalName: modalEvents.ABOUT, modalFlag: true }); diff --git a/src/portal/src/app/sign-in/sign-in.component.html b/src/portal/src/app/sign-in/sign-in.component.html index 58413c95b..10134f794 100644 --- a/src/portal/src/app/sign-in/sign-in.component.html +++ b/src/portal/src/app/sign-in/sign-in.component.html @@ -1,6 +1,6 @@ - +