Skip to content

Commit

Permalink
Dashboard Print Optimize Class Change (#85878)
Browse files Browse the repository at this point in the history
* Fixed print oversight from deangularize PR & removed grey lines from background of print optimized dashboard PDF
  • Loading branch information
ThomThomson authored Dec 15, 2020
1 parent f4b7916 commit e4114dc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions x-pack/plugins/reporting/server/lib/layouts/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand All @@ -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. */
Expand Down

0 comments on commit e4114dc

Please sign in to comment.