fix: stabilize dashboard content rows
CI / verify (pull_request) Successful in 1m30s
CI / infrastructure-smoke (pull_request) Successful in 23s
CI / migration-smoke (pull_request) Successful in 1m52s

This commit is contained in:
ekklesia
2026-09-29 20:50:14 -05:00
parent 8127cc87b4
commit f445a83ea5
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -143,6 +143,7 @@ const shellStyles = {
display: "grid", display: "grid",
fontFamily: designToken("typography.family-sans"), fontFamily: designToken("typography.family-sans"),
gridTemplateColumns: "13rem minmax(0, 1fr)", gridTemplateColumns: "13rem minmax(0, 1fr)",
gridTemplateRows: "auto minmax(0, 1fr)",
minHeight: "100vh", minHeight: "100vh",
minWidth: 0, minWidth: 0,
width: "100%", width: "100%",
+2 -1
View File
@@ -971,7 +971,7 @@ describe("Ekklesia shell — Dashboard navigation", () => {
}); });
describe("Ekklesia shell — mount lifecycle", () => { describe("Ekklesia shell — mount lifecycle", () => {
it("keeps fixed shell columns while module content changes width", async () => { it("keeps fixed shell tracks while module content changes size", async () => {
await render({ apiBaseUrl, fetch: platformFetch() }, async () => artifact("example", "0.1.0")); await render({ apiBaseUrl, fetch: platformFetch() }, async () => artifact("example", "0.1.0"));
const shell = query("host-shell") as HTMLElement; const shell = query("host-shell") as HTMLElement;
@@ -979,6 +979,7 @@ describe("Ekklesia shell — mount lifecycle", () => {
const main = shell.querySelector("main") as HTMLElement; const main = shell.querySelector("main") as HTMLElement;
const frame = query("module-container") as HTMLElement; const frame = query("module-container") as HTMLElement;
expect(shell.style.gridTemplateColumns).toBe("13rem minmax(0, 1fr)"); expect(shell.style.gridTemplateColumns).toBe("13rem minmax(0, 1fr)");
expect(shell.style.gridTemplateRows).toBe("auto minmax(0, 1fr)");
expect(aside.style.width).toBe("13rem"); expect(aside.style.width).toBe("13rem");
expect(main.style.minWidth).toBe("0"); expect(main.style.minWidth).toBe("0");
expect(main.style.overflowX).toBe("auto"); expect(main.style.overflowX).toBe("auto");