From bd09845a0428d78f1fcf6a3bdd4a756caf34ea84 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Mon, 7 Sep 2026 09:49:16 +0800 Subject: [PATCH 1/2] fix(ui): ChangeHistory dropdown width collapses to its min-width --- .../ui-components/src/Common/ChangeHistory/index.module.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/ui-components/src/Common/ChangeHistory/index.module.css b/packages/ui-components/src/Common/ChangeHistory/index.module.css index 0fbfc01add394..e5d79b2383a80 100644 --- a/packages/ui-components/src/Common/ChangeHistory/index.module.css +++ b/packages/ui-components/src/Common/ChangeHistory/index.module.css @@ -32,8 +32,9 @@ z-50 mt-1 max-h-80 - w-[26rem] - max-w-[calc(100vw-2rem)] + w-max + max-w-[min(26rem,calc(100vw-2rem))] + min-w-[12rem] overflow-hidden rounded-sm border From 6af766e249e28318f1daf0b40b88d787c16172d8 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Mon, 7 Sep 2026 10:05:48 +0800 Subject: [PATCH 2/2] Update min-width to be responsive with viewport Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: btea <2356281422@qq.com> --- .../ui-components/src/Common/ChangeHistory/index.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-components/src/Common/ChangeHistory/index.module.css b/packages/ui-components/src/Common/ChangeHistory/index.module.css index e5d79b2383a80..07cb19235877b 100644 --- a/packages/ui-components/src/Common/ChangeHistory/index.module.css +++ b/packages/ui-components/src/Common/ChangeHistory/index.module.css @@ -34,7 +34,7 @@ max-h-80 w-max max-w-[min(26rem,calc(100vw-2rem))] - min-w-[12rem] + min-w-[min(12rem,calc(100vw-2rem))] overflow-hidden rounded-sm border