Skip to content

Conversation

}
@media print {
.lh-devtools .lh-container {
height: inherit;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i tried this out and i'm not sure it fixes the issue.
rather than height, i'm pretty sure we need to unset the overflow property back to 'visible' instead.

@media print {
  .lh-devtools .lh-container {
    overflow-y: unset;
  }
}

Copy link
Collaborator Author

@connorjclark connorjclark Jun 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worked for me

Try it out in this manner:

comment out the "printWindow.close()" fn, cancel the print prompt when it appears, and inspect the print window / apply these styles

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was only barely working :)

fixed

@connorjclark connorjclark changed the title clients(devtools): disable height restriction in print clients(devtools): unset overflow in print Jun 25, 2019
@connorjclark connorjclark merged commit f13e549 into master Jun 25, 2019
@connorjclark connorjclark deleted the dt-report-feats-print branch July 11, 2019 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants