Fix PS card blank-body bug: table class cards collided with .cards display:grid (gap-cards) — grid-on-a-table collapses rows to zero height. Renamed to ps-tbl + smoke guard (smoke 88->90)

This commit is contained in:
krisf committed 2026-10-09 12:44:32 -04:00
1 parent 3981b9bc26
commit 9945e46dec
3 files changed
+10 -5

No files matched your search

+3
View File
@@ -195,6 +195,9 @@ function runPs(lang, M, done) {
ok('PS card bridge line (13,987.50)', M.psBridge.test(h), (h.match(M.psBridge) || [''])[0]);
ok('PS card sources link PSPC canada.ca', /href="https:\/\/www\.canada\.ca/.test(h));
ok('PS card IT agreement source (2024-12-22)', /2024-12-22/.test(h));
ok('PS card table uses non-colliding class ps-tbl (grid-on-table would blank the card)',
/<table class="ps-tbl">/.test(h) && (h.match(/<tr>/g) || []).length >= 7,
'rows=' + (h.match(/<tr>/g) || []).length);
ok('PS series in G2 chart', M.psSeries.test(N(q('#g2')._html)), N(q('#g2')._html).slice(0, 40));
ok('PS insight in live panel', M.psInsight.test(N(q('#panel-insight')._html)), N(q('#panel-insight')._html).slice(0, 70));
done();