fix: keep dashboard shell dimensions stable #41

Merged
Zayin_Admin merged 2 commits from fix/signage-dashboard-layout into main 2026-09-29 23:55:56 +00:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit 8127cc87b4 - Show all commits
+5 -1
View File
@@ -131,7 +131,11 @@ export function ModuleUiFrame(props: ModuleUiFrameProps): ReactElement {
to check the installation.
</p>
) : undefined}
<div data-testid="module-container" ref={containerRef} style={{ minWidth: 0, width: "100%" }} />
<div
data-testid="module-container"
ref={containerRef}
style={{ minWidth: 0, width: "100%" }}
/>
</section>
);
}
+1 -3
View File
@@ -972,9 +972,7 @@ describe("Ekklesia shell — Dashboard navigation", () => {
describe("Ekklesia shell — mount lifecycle", () => {
it("keeps fixed shell columns while module content changes width", 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 aside = shell.querySelector("aside") as HTMLElement;