Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
fix(css): fix print styles
Browse files Browse the repository at this point in the history
fixes print-preview problem with Chrome due to absolute positioned element with overflows set to auto/hidden
  • Loading branch information
zewa666 committed Jul 2, 2015
1 parent e76c6ee commit dfcf28a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions styles/styles.css
Expand Up @@ -33,6 +33,19 @@ body {
overflow-y: auto;
}

@media print
{
.page-host {
position: absolute;
left: 10px;
right: 0;
top: 50px;
bottom: 0;
overflow-y: inherit;
overflow-x: inherit;
}
}

section {
margin: 0 20px;
}
Expand Down

0 comments on commit dfcf28a

Please sign in to comment.