fix(schema-diff): keep deploy confirmation actions visible

This commit is contained in:
Melody Ruch authored and GitHub committed 2026-08-18 10:50:23 +08:00
1 parent 37efd29187
commit f92497b3d3
2 files changed
+5 -1

No files matched your search

@@ -1026,7 +1026,7 @@ const targetConnectionInfo = computed(() => {
</DialogTitle>
</DialogHeader>
<div class="py-2 space-y-3">
<div class="py-2 space-y-3 min-w-0">
<p class="text-sm text-muted-foreground">{{ t("diff.deployConfirmMessage") }}</p>
<div class="bg-muted p-3 rounded text-xs font-mono space-y-1">
@@ -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('<div class="py-2 space-y-3 min-w-0">');
});
});