Skip to content

Commit

Permalink
Merge branch 'master' into fidstring
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 3, 2019
2 parents a238acd + 7489931 commit 5ab87f8
Show file tree
Hide file tree
Showing 5 changed files with 2,948 additions and 2,937 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"ultradumbBenchmark": "./lighthouse-core/scripts/benchmark.js",
"mixed-content": "./lighthouse-cli/index.js --chrome-flags='--headless' --preset=mixed-content",
"minify-latest-run": "./lighthouse-core/scripts/lantern/minify-trace.js ./latest-run/defaultPass.trace.json ./latest-run/defaultPass.trace.min.json && ./lighthouse-core/scripts/lantern/minify-devtoolslog.js ./latest-run/defaultPass.devtoolslog.json ./latest-run/defaultPass.devtoolslog.min.json",
"compile-proto": "protoc --python_out=./ ./proto/lighthouse-result.proto && mv ./proto/*_pb2.py ./proto/scripts",
"compile-proto": "protoc --python_out=./ ./proto/lighthouse-result.proto && mv ./proto/*_pb2.py ./proto/scripts || (echo \"❌ Install protobuf to compile the proto file.\" && false)",
"build-proto-roundtrip": "cd proto/scripts && PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2 python json_roundtrip_via_proto.py"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 5ab87f8

Please sign in to comment.