fix: separate server deployment mode inputs

This commit is contained in:
npc0-hue
2026-07-24 19:38:46 +08:00
parent ab943536b0
commit 6cfd929f7f
7 changed files with 24 additions and 5 deletions
+7
View File
@@ -165,6 +165,13 @@ describe("platform web shared theme CSS", () => {
expect(css).toContain("max-height:calc(100dvh-20px)");
});
it("keeps deployment workflow fields compact when a mode has one input", () => {
const css = compact(readThemeCss());
expect(css).toContain(".deployment-workflow-body{display:grid;align-content:start;gap:12px;min-height:0}");
expect(css).toContain(".deployment-workflow-body.form-grid{align-content:start;align-items:start;grid-auto-rows:min-content}");
});
it("keeps magical card decoration from becoming square background patches", () => {
const css = compact(readThemeCss());