diff --git a/src/portal/src/app/base/base.module.ts b/src/portal/src/app/base/base.module.ts index ecda2a7b1e7..6beb77fe643 100644 --- a/src/portal/src/app/base/base.module.ts +++ b/src/portal/src/app/base/base.module.ts @@ -20,7 +20,6 @@ import { MemberGuard } from '../shared/router-guard/member-guard-activate.servic import { ProjectRoutingResolver } from '../services/routing-resolvers/project-routing-resolver.service'; import { PasswordSettingComponent } from './password-setting/password-setting.component'; import { AccountSettingsModalComponent } from './account-settings/account-settings-modal.component'; -import { PreferenceSettingsComponent } from './preference-settings/preference-settings.component'; import { ForgotPasswordComponent } from './password-setting/forgot-password/forgot-password.component'; import { GlobalConfirmationDialogComponent } from './global-confirmation-dialog/global-confirmation-dialog.component'; diff --git a/src/portal/src/app/base/preference-settings/preference-settings.component.scss b/src/portal/src/app/base/preference-settings/preference-settings.component.scss index 4df3f0c05fa..d2da35f9a46 100644 --- a/src/portal/src/app/base/preference-settings/preference-settings.component.scss +++ b/src/portal/src/app/base/preference-settings/preference-settings.component.scss @@ -1,46 +1,6 @@ -.sign-in-override { - padding-left: 0 !important; - padding-right: 5px !important; -} - -.sign-up-override { - padding-left: 5px !important; -} - -.custom-divider { - display: inline-block; - border-right: 2px inset snow; - padding: 2px 0; - vertical-align: middle; - height: 24px; -} - .locale-selected { font-weight: bold; } - -.nav-divider { - display: inline-block; - width: 1px; - height: 20px; - background-color: #fafafa; - position: relative; - opacity: 0.15; - content: ''; -} - -.nav-about-link { - padding-left: 1.6rem !important; - padding-right: 1rem !important; - min-width: 125px; - text-align: left !important; -} - -.harbor-logo { - width: 40px; - margin-right: 15px; -} - .nav-icon-width { width: auto !important; padding-left: 18px !important; @@ -69,21 +29,3 @@ align-items: start; gap: 20px; } - -.user-icon { - left: -2px; -} - -.headerLogo { - width: 36px; - height: 36px; - object-fit: fill; -} - -.dropdown-item { - outline: none; -} - -.user-down { - right: 1rem !important; -} diff --git a/src/portal/src/app/base/preference-settings/preference-settings.component.ts b/src/portal/src/app/base/preference-settings/preference-settings.component.ts index b5b37f2898d..d7045e16aaf 100644 --- a/src/portal/src/app/base/preference-settings/preference-settings.component.ts +++ b/src/portal/src/app/base/preference-settings/preference-settings.component.ts @@ -135,8 +135,6 @@ export class PreferenceSettingsComponent implements OnInit { switchRuntime(runtime: SupportedRuntime): void { this.selectedRuntime = runtime; localStorage.setItem(DEFAULT_RUNTIME_LOCALSTORAGE_KEY, runtime); - // have to reload,as HarborDatetimePipe is pure pipe - // window.location.reload(); } switchDatetimeRendering(datetime: DatetimeRendering): void { diff --git a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html index 70d9a290bfa..12e18e7cef2 100644 --- a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html +++ b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html @@ -197,7 +197,7 @@ - {{ 'REPOSITORY.ARTIFACTS_COUNT' | translate }} @@ -260,7 +260,7 @@ - +
{{ 'ACCOUNT_SETTINGS.PREFERENCES' | translate }}