refactor(ui): compact mega menu layouts
Quality / quality (ubuntu-latest) (push) Failing after 9m53s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-24 23:06:01 +05:30
parent 8f3a13c854
commit 45309b3f72
6 changed files with 40 additions and 10 deletions
+2
View File
@@ -2937,6 +2937,8 @@ test("mega menu renders column groups in an anchored panel", async () => {
// Single level by design: a mega panel shows breadth flat, so there is no
// nested submenu markup to find.
expect(source).not.toContain("wrn-mega__submenu");
expect(source).toContain('.wrn-mega[data-variant="default"] .wrn-mega__panel');
expect(source).toContain("box-sizing: border-box");
});
test("mega menu columns take roving focus and survive an empty column list", async () => {