fix(ui): prevent navigation surface overflow
This commit is contained in:
@@ -2941,6 +2941,12 @@ test("mega menu renders column groups in an anchored panel", async () => {
|
||||
expect(source).toContain("box-sizing: border-box");
|
||||
});
|
||||
|
||||
test("announcement full-width surface does not create viewport scrollbar overflow", () => {
|
||||
const source = readFileSync(uiComponentPath("AnnouncementBar"), "utf8");
|
||||
expect(source).not.toContain("width: 100vw");
|
||||
expect(source).not.toContain("calc(50% - 50vw)");
|
||||
});
|
||||
|
||||
test("mega menu columns take roving focus and survive an empty column list", async () => {
|
||||
const source = readFileSync(uiComponentPath("MegaMenu"), "utf8");
|
||||
const html = await renderComponent(source, { label: "Empty", columns: [] });
|
||||
|
||||
Reference in New Issue
Block a user