From 83e7b4c04d6a26f8fa01c08c7dd97f86832aebe4 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Wed, 9 Nov 2016 09:59:13 -0800 Subject: [PATCH] Cleaner debug strings --- lighthouse-core/report/styles/report.css | 13 +++++++++++-- lighthouse-core/report/templates/report.html | 3 +-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lighthouse-core/report/styles/report.css b/lighthouse-core/report/styles/report.css index b111b6298662..d38ebe5efa94 100644 --- a/lighthouse-core/report/styles/report.css +++ b/lighthouse-core/report/styles/report.css @@ -398,10 +398,19 @@ a { font-size: 14px; color: #D0021B; font-style: italic; - margin-top: 8px; padding: 8px 16px; max-width: 90%; - background-color: #eee; + display: inline-flex; + align-items: center; +} + +.report-section__item-debug .info-icon { + height: 18px; + width: 18px; + background: url('data:image/svg+xml;utf8,') no-repeat 50% 50%; + background-size: contain; + opacity: 0.6; + margin-right: 4px; } .report-section__item-help-toggle { diff --git a/lighthouse-core/report/templates/report.html b/lighthouse-core/report/templates/report.html index b89740606bdb..be41b7491c28 100644 --- a/lighthouse-core/report/templates/report.html +++ b/lighthouse-core/report/templates/report.html @@ -130,8 +130,7 @@

{{ aggregation.name }}

{{#if subItem.debugString }}
- Audit debug info: - {{ subItem.debugString }} + {{ subItem.debugString }}
{{/if}}