From 20786e1612eb6d10cf738773a9b77b674016dfea Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Mon, 24 Jun 2019 16:35:45 -0700 Subject: [PATCH 1/2] clients(devtools): disable height restriction in print --- lighthouse-core/report/html/report-styles.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 8f0f3208dcd0..49c15ff03ead 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -263,6 +263,11 @@ overflow-y: scroll; height: calc(100% - var(--topbar-height)); } +@media print { + .lh-devtools .lh-container { + height: inherit; + } +} .lh-devtools .lh-sticky-header { /* This is normally the height of the topbar, but we want it to stick to the top of our scroll container .lh-container` */ top: 0; From efc03ee1cce6811a0ff1768aa2ca51d0d83a4ad3 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Mon, 24 Jun 2019 17:27:29 -0700 Subject: [PATCH 2/2] fix overflow --- lighthouse-core/report/html/report-styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 49c15ff03ead..250598acb329 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -265,7 +265,7 @@ } @media print { .lh-devtools .lh-container { - height: inherit; + overflow: unset; } } .lh-devtools .lh-sticky-header {