From e4114dc08fa4ebca9b5ee08096eff8d0df2652b7 Mon Sep 17 00:00:00 2001 From: Devon Thomson Date: Tue, 15 Dec 2020 14:01:11 -0500 Subject: [PATCH] Dashboard Print Optimize Class Change (#85878) * Fixed print oversight from deangularize PR & removed grey lines from background of print optimized dashboard PDF --- .../plugins/reporting/server/lib/layouts/print.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/reporting/server/lib/layouts/print.css b/x-pack/plugins/reporting/server/lib/layouts/print.css index 3ff39974536d2..c47c8de50f9e1 100644 --- a/x-pack/plugins/reporting/server/lib/layouts/print.css +++ b/x-pack/plugins/reporting/server/lib/layouts/print.css @@ -101,9 +101,14 @@ discover-app .discover-table-footer { * Dashboard tweaks */ -.dshPanel__header { - /* hide the panel heading with the controls in it like expand */ - display: none !important; +.dshAppContainer .embPanel__header { + /* hide the panel heading with the controls and title */ + display: none !important +} + +.dshAppContainer .euiPanel { + /* Remove the border from the eui panel */ + border: none !important; } /** @@ -114,7 +119,7 @@ discover-app .discover-table-footer { * 2. React grid item's transform affects the visualizations, even when they are using fixed positioning. Chrome seems * to handle this fine, but firefox moves the visualizations around. */ - dashboard-app .react-grid-item { +.dshAppContainer .react-grid-item { height: 0 !important; /* 1. */ width: 0 !important; /* 1. */ transform: none !important; /* 2. */