no message
This commit is contained in:
parent
4ba6e9c94e
commit
2797ad6638
@ -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
|
||||
|
||||
|
||||
18
card.css
18
card.css
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user