refactor(ui): compact mega menu layouts
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user