fix: stabilize dashboard content rows #42

Merged
Zayin_Admin merged 1 commits from fix/signage-runtime-layout into main 2026-09-30 02:04:14 +00:00
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -143,6 +143,7 @@ const shellStyles = {
display: "grid",
fontFamily: designToken("typography.family-sans"),
gridTemplateColumns: "13rem minmax(0, 1fr)",
gridTemplateRows: "auto minmax(0, 1fr)",
minHeight: "100vh",
minWidth: 0,
width: "100%",
+2 -1
View File
@@ -971,7 +971,7 @@ describe("Ekklesia shell — Dashboard navigation", () => {
});
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"));
const shell = query("host-shell") as HTMLElement;
@@ -979,6 +979,7 @@ describe("Ekklesia shell — mount lifecycle", () => {
const main = shell.querySelector("main") as HTMLElement;
const frame = query("module-container") as HTMLElement;
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(main.style.minWidth).toBe("0");
expect(main.style.overflowX).toBe("auto");