样式修改

This commit is contained in:
谢宇宁
2026-10-16 14:10:10 +07:00
parent d2ddb1c321
commit 4afd5f9143
42 changed files with 89 additions and 1765 deletions
+2 -3
View File
@@ -112,9 +112,8 @@ test("React list advertising keeps independent desktop and mobile row positions
3,
);
const promo = renderToStaticMarkup(<PromoGrid items={ads} />);
assert.equal((promo.match(/data-track-ad="external"/g) || []).length, 2);
assert.equal((promo.match(/data-ad-clone="1"/g) || []).length, 1);
assert.match(promo, /rel="sponsored nofollow noopener"/);
assert.equal((promo.match(/rel="sponsored nofollow noopener"/g) || []).length, 2);
assert.equal((promo.match(/tabindex="-1"/g) || []).length, 1);
});
test("React filter and pagination links preserve the source path-only canonical route contracts", () => {