From f92497b3d3291c7f8e092da41984b86463af177b Mon Sep 17 00:00:00 2001 From: Melody Ruch <396921921@qq.com> Date: Tue, 18 Aug 2026 10:50:23 +0800 Subject: [PATCH] fix(schema-diff): keep deploy confirmation actions visible --- apps/desktop/src/components/diff/SchemaDiffDialog.vue | 2 +- .../src/components/diff/__tests__/SchemaDiffDialog.spec.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/components/diff/SchemaDiffDialog.vue b/apps/desktop/src/components/diff/SchemaDiffDialog.vue index 2e7a36f6d2..cf7e3507d7 100644 --- a/apps/desktop/src/components/diff/SchemaDiffDialog.vue +++ b/apps/desktop/src/components/diff/SchemaDiffDialog.vue @@ -1026,7 +1026,7 @@ const targetConnectionInfo = computed(() => { -
+

{{ t("diff.deployConfirmMessage") }}

diff --git a/apps/desktop/src/components/diff/__tests__/SchemaDiffDialog.spec.ts b/apps/desktop/src/components/diff/__tests__/SchemaDiffDialog.spec.ts index 2c63897413..5246200afb 100644 --- a/apps/desktop/src/components/diff/__tests__/SchemaDiffDialog.spec.ts +++ b/apps/desktop/src/components/diff/__tests__/SchemaDiffDialog.spec.ts @@ -22,4 +22,8 @@ describe("SchemaDiffDialog fullscreen layout", () => { expect(dialogSource).toContain("event.preventDefault();"); expect(dialogSource).toContain("showOptionsPanel.value = false;"); }); + + it("lets the deploy confirm dialog body shrink so a long destructive statement can't push the footer buttons off-screen", () => { + expect(dialogSource).toContain('
'); + }); });