From 04545b95d9841e2872a0ba93abcb30573c5b79c2 Mon Sep 17 00:00:00 2001 From: chengyongru Date: Tue, 16 Jun 2026 11:41:05 +0800 Subject: [PATCH] fix(webui): refine automation styling and delete confirmation --- webui/src/components/DeleteConfirm.tsx | 6 ++-- .../src/components/settings/SettingsView.tsx | 30 +++++++++---------- webui/src/i18n/locales/en/common.json | 2 +- webui/src/i18n/locales/es/common.json | 2 +- webui/src/i18n/locales/fr/common.json | 2 +- webui/src/i18n/locales/id/common.json | 2 +- webui/src/i18n/locales/ja/common.json | 2 +- webui/src/i18n/locales/ko/common.json | 2 +- webui/src/i18n/locales/vi/common.json | 2 +- webui/src/i18n/locales/zh-CN/common.json | 2 +- webui/src/i18n/locales/zh-TW/common.json | 2 +- webui/src/tests/app-layout.test.tsx | 2 +- 12 files changed, 28 insertions(+), 28 deletions(-) diff --git a/webui/src/components/DeleteConfirm.tsx b/webui/src/components/DeleteConfirm.tsx index d0a5ff77..5b578b05 100644 --- a/webui/src/components/DeleteConfirm.tsx +++ b/webui/src/components/DeleteConfirm.tsx @@ -80,16 +80,16 @@ export function DeleteConfirm({ ) : null} - + {t("deleteConfirm.cancel")} {hasAutomations ? t("deleteConfirm.confirmWithAutomations") diff --git a/webui/src/components/settings/SettingsView.tsx b/webui/src/components/settings/SettingsView.tsx index 2bf98b5a..7a42d8fd 100644 --- a/webui/src/components/settings/SettingsView.tsx +++ b/webui/src/components/settings/SettingsView.tsx @@ -3489,11 +3489,11 @@ function AutomationsSettings({ }, [filtered, selectedJobId]); return ( -
-
+
+
-
+
{summaryOptions.map((option) => (
) : filtered.length && selectedJob ? ( -
-