Skip to content

Commit b47e425

Browse files
committed
don't put details/summary around auditgroups
1 parent b2f26d1 commit b47e425

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

lighthouse-core/report/v2/renderer/category-renderer.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -209,20 +209,11 @@ class CategoryRenderer {
209209
* @return {!HTMLDetailsElement}
210210
*/
211211
_renderAuditGroup(group) {
212-
const auditGroupElem = /** @type {!HTMLDetailsElement} */ (this._dom.createElement('details',
213-
'lh-audit-group lh-expandable-details'));
214-
const auditGroupHeader = this._dom.createElement('div',
215-
'lh-audit-group__header lh-expandable-details__header');
212+
const auditGroupElem = /** @type {!HTMLDivElement} */ (this._dom.createElement('div',
213+
'lh-audit-group'));
214+
const auditGroupHeader = this._dom.createElement('div', 'lh-audit-group__header');
216215
auditGroupHeader.textContent = group.title;
217-
218-
const auditGroupSummary = this._dom.createElement('summary',
219-
'lh-audit-group__summary lh-expandable-details__summary');
220-
const auditGroupArrow = this._dom.createElement('div', 'lh-toggle-arrow', {
221-
title: 'See audits',
222-
});
223-
auditGroupSummary.appendChild(auditGroupHeader);
224-
auditGroupSummary.appendChild(auditGroupArrow);
225-
auditGroupElem.appendChild(auditGroupSummary);
216+
auditGroupElem.appendChild(auditGroupHeader);
226217

227218
if (group.description) {
228219
const auditGroupDescription = this._dom.createElement('div', 'lh-audit-group__description');

lighthouse-core/report/v2/report-styles.css

Lines changed: 3 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)