Skip to content

Commit

Permalink
report(redesign): inline display text. bold audit header text (#8592)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored and paulirish committed May 3, 2019
1 parent 390f279 commit ec0fd47
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions lighthouse-core/report/html/report-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@
}


.lh-audit__title,
.lh-audit__display-text,
.lh-load-opportunity__sparkline,
.lh-chevron-container {
Expand All @@ -470,13 +469,23 @@
margin-right: 0;
}

.lh-audit__title {
.lh-audit__display-text {
flex: 1;
}

/* Prepend display text with em dash separator. But not in Opportunities. */
.lh-audit__display-text:not(:empty):before {
content: '—';
margin-right: var(--audit-item-gap);
}
.lh-audit-group.lh-audit-group--load-opportunities .lh-audit__display-text:not(:empty):before {
display: none;
}

/* Expandable Details (Audit Groups, Audits) */
.lh-audit__header {
display: flex;
font-weight: 500;
padding: var(--lh-audit-vpadding) 0;
}

Expand Down Expand Up @@ -694,7 +703,6 @@

.lh-load-opportunity__col {
display: flex;
justify-content: space-between;
}

.lh-load-opportunity__col--one {
Expand Down Expand Up @@ -878,6 +886,7 @@
}
.lh-audit-group__header span.lh-audit-group__description::before {
content: '—';
margin: 0px var(--audit-item-gap);
}

.lh-clump > .lh-audit-group__header,
Expand Down

0 comments on commit ec0fd47

Please sign in to comment.