no message

This commit is contained in:
Bengt Brodersen 2015-11-27 17:12:33 +01:00
parent 4ba6e9c94e
commit 2797ad6638
2 changed files with 22 additions and 9 deletions

View File

@ -6,7 +6,7 @@
// YouTrack: http://qoomon.myjetbrains.com/youtrack/dashboard
var global = {};
global.version = "4.3.0";
global.version = "4.3.1";
global.issueTrackingUrl = "https://github.com/qoomon/Jira-Issue-Card-Printer";
global.isDev = document.currentScript == null;
global.isProd = !global.isDev;
@ -378,10 +378,13 @@
var scaleHeight = cardMaxHeight / cardMinHeight ;
var scale = Math.min(scaleWidth, scaleHeight, 1);
// scale down only
if (scale < 1) {
jQuery("html", printDocument).css("font-size", ( scaleRoot * scale ) + "cm");
}
console.log("scaleRoot: " + scaleRoot + " scale: " + scale);
console.log("scaleWidth: " + scaleWidth + " scaleHeight: " + scaleHeight);
// scale
jQuery("html", printDocument).css("font-size", ( scaleRoot * scale ) + "cm");
// size

View File

@ -73,10 +73,20 @@ body {
width: 100%;
padding: 0.5rem;
min-width: 14.5rem;
min-height: 12.5rem;
border-color: LightGray;
border-style: dotted;
border-width: 0.03cm;
min-height: 8.65rem;
overflow: visible;
}
.card::after {
overflow: visible;
position: absolute;
top: 0rem;
left: 0rem;
content: "";
width: calc(100% - 0.06cm);
height: calc(100% - 0.06cm);
border-color: LightGray;
border-style: dashed;
border-width: 0.06cm;
}
.card-content {
position: relative;