Skip to content

Commit

Permalink
printing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blopa committed Sep 26, 2017
1 parent e6c7a8c commit 85529e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion generator.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</head>
<body>
<div id="custom-styles" class="no-print" style="display: none;"></div>
<div id="main-menu">
<div id="main-menu" class="no-print">

</div>
<div id="sheet-effect" class="no-print">
Expand Down
3 changes: 3 additions & 0 deletions js/contract-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,10 @@ function updateVarsMenu(arr, id)

function preparePrint()
{
var content = $("#content");
content.css("margin-top", "-108px");
window.print();
content.css("margin-top", "0px");
}

function prepareDownload(contentId)
Expand Down

0 comments on commit 85529e5

Please sign in to comment.