fixed printing issues

This commit is contained in:
Bengt Brodersen 2015-04-19 13:15:26 +02:00
parent 7ead91f9d6
commit 05e49e060e

View File

@ -1,5 +1,5 @@
(function () { (function () {
var version = "3.2.1"; var version = "3.2.3";
console.log("Version: " + version); console.log("Version: " + version);
var isDev = typeof isDev !== 'undefined' && isDev ; var isDev = typeof isDev !== 'undefined' && isDev ;
@ -508,7 +508,7 @@
#card-print-dialog-content { #card-print-dialog-content {
position: relative; position: relative;
background: white; background: white;
height: calc(100% - 106px); + height: 100px; height: calc(100% - 106px);
width: 100%; width: 100%;
overflow-y: scroll; overflow-y: scroll;
@ -591,7 +591,7 @@
page-break-after: always; page-break-after: always;
page-break-inside: avoid; page-break-inside: avoid;
background:rgba(256, 256, 256, 0.85); background:white;
-webkit-box-shadow: 0px 0px 7px 3px rgba(31,31,31,0.4); -webkit-box-shadow: 0px 0px 7px 3px rgba(31,31,31,0.4);
-moz-box-shadow: 0px 0px 7px 3px rgba(31,31,31,0.4); -moz-box-shadow: 0px 0px 7px 3px rgba(31,31,31,0.4);
@ -617,12 +617,11 @@
@media print { @media print {
.page { .page {
background: white;
background:rgba(256, 256, 256, 0.0);
border-style: none; border-style: none;
padding: 0.0cm; padding: 0.0cm;
margin: 0.0cm; margin: 0.0cm;
margin-top: 2.0cm; margin-top: 1.0cm;
-webkit-box-shadow: none; -webkit-box-shadow: none;
-moz-box-shadow: none; -moz-box-shadow: none;
@ -747,11 +746,12 @@
} }
.author{ .author{
z-index: 999;
line-height: 0.8rem; line-height: 0.8rem;
} }
.author-page { .author-page {
z-index: 999;
position: absolute; position: absolute;
top:2.5rem; top:2.5rem;
right:0.55rem; right:0.55rem;
@ -762,6 +762,7 @@
transform: rotate(-90deg); transform: rotate(-90deg);
} }
.author-name { .author-name {
z-index: 0;
position: absolute; position: absolute;
top:3.26rem; top:3.26rem;
right:-2.6rem; right:-2.6rem;