Minor layout responsiveness adjustments

This commit is contained in:
2026-09-23 23:54:22 -03:00
parent b92d75f558
commit b8c493fc20
10 changed files with 216 additions and 9 deletions

View File

@@ -68,6 +68,13 @@ test("ten columns retain their links and put product/customer controls below the
assert.equal(findClass(h.cell("customer"), "opportunities-extension-products-count"), undefined);
});
test("desktop filter widths fit Reference content and allocate free space to Customer and Owner", () => {
const css = fs.readFileSync(path.join(__dirname, "../src/features/opportunities/styles.css"), "utf8");
assert.match(css, /grid-template-columns: max-content minmax\(110px, 1fr\) minmax\(110px, 1fr\) minmax\(145px, 180px\) max-content max-content/);
assert.match(css, /@media \(min-width: 1151px\)[\s\S]*?\.opportunities-extension-field select\s*\{\s*width: max-content;/);
assert.match(css, /@media \(max-width: 1150px\)/);
});
test("ramp months preserve zero and flag missing values beside the product count", () => {
const h = setup();
const badge = () => findClass(h.cell("name"), "opportunities-extension-products-ramp");