From 469b6a495b40386abec282562fd4b9abe6fd4440 Mon Sep 17 00:00:00 2001 From: Shijun Sun <30999793+AllForNothing@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:00:17 +0800 Subject: [PATCH] Update the style for the robot acccount ui (#19663) 1. Fixes #19614 2. Fixes #19617 Signed-off-by: AllForNothing --- .../project-quotas.component.scss | 2 +- .../system-robot-accounts.component.html | 4 +- .../system-robot-accounts.component.scss | 3 ++ .../robot-permissions-panel.component.html | 7 ++- .../robot-permissions-panel.component.scss | 1 + .../robot-permissions-panel.component.ts | 49 ++++++++++--------- src/portal/src/i18n/lang/de-de-lang.json | 3 +- src/portal/src/i18n/lang/en-us-lang.json | 3 +- src/portal/src/i18n/lang/es-es-lang.json | 3 +- src/portal/src/i18n/lang/fr-fr-lang.json | 3 +- src/portal/src/i18n/lang/pt-br-lang.json | 3 +- src/portal/src/i18n/lang/tr-tr-lang.json | 3 +- src/portal/src/i18n/lang/zh-cn-lang.json | 3 +- src/portal/src/i18n/lang/zh-tw-lang.json | 3 +- 14 files changed, 56 insertions(+), 34 deletions(-) diff --git a/src/portal/src/app/base/left-side-nav/project-quotas/project-quotas/project-quotas.component.scss b/src/portal/src/app/base/left-side-nav/project-quotas/project-quotas/project-quotas.component.scss index bdc5addf7..69182574e 100644 --- a/src/portal/src/app/base/left-side-nav/project-quotas/project-quotas/project-quotas.component.scss +++ b/src/portal/src/app/base/left-side-nav/project-quotas/project-quotas/project-quotas.component.scss @@ -90,6 +90,6 @@ :host::ng-deep { .filter-input { - width: 210px; + width: 240px; } } diff --git a/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.html b/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.html index 2f6ba80ce..6bd715d78 100644 --- a/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.html +++ b/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.html @@ -136,8 +136,10 @@ {{ 'ROBOT_ACCOUNT.ENABLED_STATE' | translate }} - System Permissions {{ + 'ROBOT_ACCOUNT.SYSTEM_PERMISSIONS' | translate + }} + {{ 'SYSTEM_ROBOT.PROJECTS' | translate }} {{ diff --git a/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.scss b/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.scss index cb09f7136..f4395c936 100644 --- a/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.scss +++ b/src/portal/src/app/base/left-side-nav/system-robot-accounts/system-robot-accounts.component.scss @@ -39,3 +39,6 @@ margin-top: 3px; } +.projects-col { + min-width: 14rem !important; +} diff --git a/src/portal/src/app/shared/components/robot-permissions-panel/robot-permissions-panel.component.html b/src/portal/src/app/shared/components/robot-permissions-panel/robot-permissions-panel.component.html index 537a75ce3..5734008e0 100644 --- a/src/portal/src/app/shared/components/robot-permissions-panel/robot-permissions-panel.component.html +++ b/src/portal/src/app/shared/components/robot-permissions-panel/robot-permissions-panel.component.html @@ -47,8 +47,11 @@