From e64fedf0acf2d49f69b9abcbd752e5846a0b18b3 Mon Sep 17 00:00:00 2001 From: Brendan Kenny Date: Tue, 6 Nov 2018 13:47:19 -0800 Subject: [PATCH] feedback --- .../report/html/renderer/pwa-category-renderer.js | 5 +++-- lighthouse-core/report/html/report-styles.css | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lighthouse-core/report/html/renderer/pwa-category-renderer.js b/lighthouse-core/report/html/renderer/pwa-category-renderer.js index b57ef34f5d75..72d3a6fd5143 100644 --- a/lighthouse-core/report/html/renderer/pwa-category-renderer.js +++ b/lighthouse-core/report/html/renderer/pwa-category-renderer.js @@ -31,12 +31,13 @@ class PwaCategoryRenderer extends CategoryRenderer { const auditRefs = category.auditRefs; - // Regular audits aren't split up into clumps, they're all top-level grouped. + // Regular audits aren't split up into pass/fail/not-applicable clumps, they're + // all put in a top-level clump that isn't expandable/collapsable. const regularAuditRefs = auditRefs.filter(ref => ref.result.scoreDisplayMode !== 'manual'); const auditsElem = this.renderUnexpandableClump(regularAuditRefs, groupDefinitions); categoryElem.appendChild(auditsElem); - // Manual audits are still clumped. + // Manual audits are still in a manual clump. const manualAuditRefs = auditRefs.filter(ref => ref.result.scoreDisplayMode === 'manual'); const manualElem = this.renderClump('manual', {auditRefs: manualAuditRefs, groupDefinitions, description: category.manualDescription}); diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 0dfbabbd6eae..4efbb28c4f2f 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -94,9 +94,9 @@ --search-icon-url: url('data:image/svg+xml;utf8,'); --remove-circle-icon-url: url('data:image/svg+xml;utf8,'); - --pwa-fast-reliable-gray-url: url('data:image/svg+xml;utf8,'); - --pwa-installable-gray-url: url('data:image/svg+xml;utf8,'); - --pwa-engaging-gray-url: url('data:image/svg+xml;utf8,'); + --pwa-fast-reliable-gray-url: url('data:image/svg+xml;utf8,'); + --pwa-installable-gray-url: url('data:image/svg+xml;utf8,'); + --pwa-engaging-gray-url: url('data:image/svg+xml;utf8,'); } .lh-vars.lh-devtools {