From e71a8c0df6754606d4799bbf29bd2b478d4484db Mon Sep 17 00:00:00 2001 From: Brendan Kenny Date: Fri, 16 Nov 2018 17:42:33 -0800 Subject: [PATCH] report: give passed-opportunities group an icon --- .../report/html/renderer/performance-category-renderer.js | 2 +- lighthouse-core/report/html/report-styles.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lighthouse-core/report/html/renderer/performance-category-renderer.js b/lighthouse-core/report/html/renderer/performance-category-renderer.js index 7924f213fd7d..327fa164be60 100644 --- a/lighthouse-core/report/html/renderer/performance-category-renderer.js +++ b/lighthouse-core/report/html/renderer/performance-category-renderer.js @@ -188,7 +188,7 @@ class PerformanceCategoryRenderer extends CategoryRenderer { groupEl.appendChild(headerEl); opportunityAudits.forEach((item, i) => groupEl.appendChild(this._renderOpportunity(item, i, scale))); - groupEl.classList.add('lh-audit-group--opportunities'); + groupEl.classList.add('lh-audit-group--load-opportunities'); element.appendChild(groupEl); } diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index e23b95a7cbce..0cff179532a3 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -617,7 +617,7 @@ details, summary { content: ''; background-image: var(--content-paste-icon-url); } -.lh-audit-group--opportunities .lh-audit-group__header::before { +.lh-audit-group--load-opportunities .lh-audit-group__header::before { content: ''; background-image: var(--photo-filter-icon-url); } @@ -683,7 +683,7 @@ details, summary { .lh-clump > .lh-audit-group__description, .lh-audit-group--diagnostics .lh-audit-group__description, -.lh-audit-group--opportunities .lh-audit-group__description, +.lh-audit-group--load-opportunities .lh-audit-group__description, .lh-audit-group--metrics .lh-audit-group__description, .lh-audit-group--pwa-fast-reliable .lh-audit-group__description, .lh-audit-group--pwa-installable .lh-audit-group__description,