fix(ui): honor stats bar desktop gutters
This commit is contained in:
@@ -3194,6 +3194,16 @@ test("breadcrumb default separators remain visible without generated icon CSS",
|
||||
expect(html).not.toContain("icon-[lucide--chevron-right]");
|
||||
});
|
||||
|
||||
test("stats bar desktop gutters align its surface with container content", () => {
|
||||
const source = readFileSync(uiComponentPath("StatsBar"), "utf8");
|
||||
expect(source).toMatch(
|
||||
/data-gutter="md"[^}]+width: min\(calc\(100% - 4rem\), 80rem\)/s,
|
||||
);
|
||||
expect(source).toMatch(
|
||||
/data-gutter="lg"[^}]+width: min\(calc\(100% - 6rem\), 80rem\)/s,
|
||||
);
|
||||
});
|
||||
|
||||
test("mega menu bridges the gap between its trigger and panel", async () => {
|
||||
const source = readFileSync(uiComponentPath("MegaMenu"), "utf8");
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user