Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clients(devtools): unset overflow in print #9274

Merged
merged 2 commits into from
Jun 25, 2019
Merged

Conversation

@@ -263,6 +263,11 @@
overflow-y: scroll;
height: calc(100% - var(--topbar-height));
}
@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