25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(editor): align manageGroups and execution-progress footers with p-0 dialog content
miracle745f24322f8b
diff --git a/apps/desktop/src/components/editor/MultiDbExecuteDialog.vue b/apps/desktop/src/components/editor/MultiDbExecuteDialog.vueindex 9116990dad..fd201b7954 100644--- a/apps/desktop/src/components/editor/MultiDbExecuteDialog.vue+++ b/apps/desktop/src/components/editor/MultiDbExecuteDialog.vue@@ -749,7 +749,7 @@ watch(</div></div></div>- <DialogFooter class="shrink-0 border-t px-5 py-3">+ <DialogFooter class="mx-0 mb-0 shrink-0 border-t px-5 py-3"><Button v-if="isExecuting" variant="destructive" class="gap-1.5" @click="execution.cancel()"><X class="h-4 w-4" />{{ t("multiDbExecute.cancelBatch") }}@@ -792,7 +792,7 @@ watch(</div></div></div>- <DialogFooter class="shrink-0 border-t px-5 py-3">+ <DialogFooter class="mx-0 mb-0 shrink-0 border-t px-5 py-3"><Button variant="outline" @click="manageGroups = false">{{ t("common.close") }}</Button></DialogFooter></div>diff --git a/apps/desktop/src/components/editor/__tests__/MultiDbExecuteDialogLayout.spec.ts b/apps/desktop/src/components/editor/__tests__/MultiDbExecuteDialogLayout.spec.tsnew file mode 100644index 0000000000..1606edbeb4--- /dev/null+++ b/apps/desktop/src/components/editor/__tests__/MultiDbExecuteDialogLayout.spec.ts@@ -0,0 +1,10 @@+import { readFileSync } from "node:fs";+import { describe, expect, it } from "vitest";++const dialogSource = readFileSync(new URL("../MultiDbExecuteDialog.vue", import.meta.url), "utf8");++describe("MultiDbExecuteDialog footer layout", () => {+ it("keeps the target group manager close button aligned with the main dialog footer", () => {+ expect(dialogSource).toContain('<DialogFooter class="mx-0 mb-0 shrink-0 border-t px-5 py-3">\n <Button variant="outline" @click="manageGroups = false">');+ });+});