From cfbceb66a61d280c57b4f4b4da196d17d070e31f Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Wed, 3 Apr 2024 14:18:50 +0800 Subject: [PATCH] chore(console): update style chore(console): update style --- .../SubmitFormChangesActionBar/index.tsx | 4 +- .../MonacoCodeEditor/index.module.scss | 20 ++++++--- .../MainContent/MonacoCodeEditor/index.tsx | 44 ++++++++++--------- .../ScriptSection/index.module.scss | 8 ++-- .../MainContent/ScriptSection/index.tsx | 2 +- .../SettingsSection/index.module.scss | 1 + .../MainContent/index.module.scss | 8 +++- .../CustomizeJwtDetails/MainContent/index.tsx | 1 + .../CustomizeJwtDetails/utils/config.tsx | 10 +++-- 9 files changed, 61 insertions(+), 37 deletions(-) diff --git a/packages/console/src/components/SubmitFormChangesActionBar/index.tsx b/packages/console/src/components/SubmitFormChangesActionBar/index.tsx index 140a887fbf4..d403c323508 100644 --- a/packages/console/src/components/SubmitFormChangesActionBar/index.tsx +++ b/packages/console/src/components/SubmitFormChangesActionBar/index.tsx @@ -11,6 +11,7 @@ type Props = { onSubmit: () => Promise; onDiscard: () => void; confirmText?: AdminConsoleKey; + className?: string; }; function SubmitFormChangesActionBar({ @@ -19,9 +20,10 @@ function SubmitFormChangesActionBar({ confirmText = 'general.save_changes', onSubmit, onDiscard, + className, }: Props) { return ( -
+