From fca4f9ba6c8115d65c459d0e24a063ecc76a5e72 Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Tue, 2 Apr 2024 23:38:50 +0800 Subject: [PATCH] chore(console,phrases): update content and fix console --- .../CreateButton/index.module.scss | 5 --- .../pages/CustomizeJwt/CreateButton/index.tsx | 4 -- .../CustomizerItem/index.module.scss | 7 +++- .../CustomizeJwt/CustomizerItem/index.tsx | 8 ++-- .../SettingsSection/InstructionTab/index.tsx | 38 +++++++++---------- .../SettingsSection/index.module.scss | 1 + .../CustomizeJwtDetails/MainContent/index.tsx | 8 ++-- .../CustomizeJwtDetails/utils/config.tsx | 4 +- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- .../translation/admin-console/jwt-claims.ts | 18 ++++----- 23 files changed, 143 insertions(+), 202 deletions(-) delete mode 100644 packages/console/src/pages/CustomizeJwt/CreateButton/index.module.scss diff --git a/packages/console/src/pages/CustomizeJwt/CreateButton/index.module.scss b/packages/console/src/pages/CustomizeJwt/CreateButton/index.module.scss deleted file mode 100644 index 4b6cc13ad5d..00000000000 --- a/packages/console/src/pages/CustomizeJwt/CreateButton/index.module.scss +++ /dev/null @@ -1,5 +0,0 @@ -@use '@/scss/underscore' as _; - -.icon { - color: var(--color-button-icon); -} diff --git a/packages/console/src/pages/CustomizeJwt/CreateButton/index.tsx b/packages/console/src/pages/CustomizeJwt/CreateButton/index.tsx index 52a76cf3b0e..cd35c9bc480 100644 --- a/packages/console/src/pages/CustomizeJwt/CreateButton/index.tsx +++ b/packages/console/src/pages/CustomizeJwt/CreateButton/index.tsx @@ -1,12 +1,9 @@ import { type LogtoJwtTokenPath } from '@logto/schemas'; -import PlusIcon from '@/assets/icons/plus.svg'; import Button from '@/ds-components/Button'; import useTenantPathname from '@/hooks/use-tenant-pathname'; import { getPagePath } from '@/pages/CustomizeJwt/utils/path'; -import * as styles from './index.module.scss'; - type Props = { tokenType: LogtoJwtTokenPath; }; @@ -17,7 +14,6 @@ function CreateButton({ tokenType }: Props) { return (