Skip to content

Commit

Permalink
report: align table headings & columns left/right (#6063)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored and paulirish committed Sep 20, 2018
1 parent 6483b0c commit e199eac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lighthouse-core/report/html/report-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -906,19 +906,28 @@ summary.lh-passed-audits-summary {
padding: 8px 6px;
}

/* Looks unnecessary, but mostly for keeping the <th>s left-aligned */
.lh-table-column--text,
.lh-table-column--url,
/* .lh-table-column--thumbnail, */
/* .lh-table-column--empty,*/
.lh-table-column--code,
.lh-table-column--node {
text-align: left;
}

.lh-table-column--bytes,
.lh-table-column--timespanMs,
.lh-table-column--ms {
text-align: right;
}


.lh-table-column--thumbnail {
width: calc(var(--image-preview-size) * 2);
}

.lh-table-column--url {
text-align: left;
min-width: 250px;
white-space: nowrap;
max-width: 0;
Expand Down

0 comments on commit e199eac

Please sign in to comment.