From 5aae3e70e99d96d33ce9ddf613bf19f41bbb6d2f Mon Sep 17 00:00:00 2001 From: Shane Exterkamp Date: Wed, 9 Jan 2019 14:04:12 -0800 Subject: [PATCH 1/4] Add padding to left of pwa badge. --- lighthouse-core/report/html/report-styles.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 5d88e5c96a5f..18d26f34aa2d 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -786,11 +786,15 @@ border: 0; } -.lh-scores-header .lh-gauge__wrapper, -.lh-scores-header .lh-gauge--pwa__wrapper, { +.lh-scores-header .lh-gauge__wrapper { margin: 0 4px; } +.lh-scores-header .lh-gauge--pwa__wrapper { + margin-right: 4px; + padding-left: 3px; /* 4px - 1px border */ +} + .lh-scores-header .lh-gauge--pwa__wrapper { border-left: 1px solid var(--report-secondary-border-color) } From b75aa4b97ed7c91c8cbec73a08d3e1a964b7a624 Mon Sep 17 00:00:00 2001 From: Shane Exterkamp Date: Wed, 9 Jan 2019 14:06:11 -0800 Subject: [PATCH 2/4] Dedupe the props that I just deplicated on accident. --- lighthouse-core/report/html/report-styles.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 18d26f34aa2d..3ce044c1abc1 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -793,9 +793,6 @@ .lh-scores-header .lh-gauge--pwa__wrapper { margin-right: 4px; padding-left: 3px; /* 4px - 1px border */ -} - -.lh-scores-header .lh-gauge--pwa__wrapper { border-left: 1px solid var(--report-secondary-border-color) } From bc218c788a55167da13a82b8fc5faa678c73c4cc Mon Sep 17 00:00:00 2001 From: Shane Exterkamp Date: Wed, 9 Jan 2019 14:09:24 -0800 Subject: [PATCH 3/4] Yeah git, don't save this file. Cool. --- lighthouse-core/report/html/report-styles.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 1850610e1633..3ce044c1abc1 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -786,12 +786,7 @@ border: 0; } -<<<<<<< HEAD .lh-scores-header .lh-gauge__wrapper { -======= -.lh-scores-header .lh-gauge__wrapper, -.lh-scores-header .lh-gauge--pwa__wrapper { ->>>>>>> master margin: 0 4px; } From 4ad38703774d251c3929c06e39788ac13e918a1d Mon Sep 17 00:00:00 2001 From: Shane Exterkamp Date: Mon, 14 Jan 2019 11:52:49 -0800 Subject: [PATCH 4/4] Change margin -> padding. --- lighthouse-core/report/html/report-styles.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 3ce044c1abc1..ea4a195e1b98 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -786,13 +786,12 @@ border: 0; } -.lh-scores-header .lh-gauge__wrapper { - margin: 0 4px; +.lh-scores-header .lh-gauge__wrapper, +.lh-scores-header .lh-gauge--pwa__wrapper { + padding: 0 4px; } .lh-scores-header .lh-gauge--pwa__wrapper { - margin-right: 4px; - padding-left: 3px; /* 4px - 1px border */ border-left: 1px solid var(--report-secondary-border-color) }