no message
This commit is contained in:
parent
542504f4ca
commit
5c3fe1e292
@ -165,7 +165,7 @@
|
||||
|
||||
function loadSettings(){
|
||||
var settings = global.settings = global.settings || {};
|
||||
settings.scale = parseFloat(readCookie("card_printer_scale")) || 1.0;
|
||||
settings.scale = parseFloat(readCookie("card_printer_scale")) || 0.0;
|
||||
settings.rowCount = parseInt(readCookie("card_printer_row_count2")) || 2;
|
||||
settings.colCount = parseInt(readCookie("card_printer_column_count")) || 1;
|
||||
|
||||
@ -344,7 +344,7 @@
|
||||
var style = document.createElement('style');
|
||||
style.id = 'styleSingleCardPage';
|
||||
style.type = 'text/css';
|
||||
style.innerHTML = ".card { page-break-after: always; float: none; }"
|
||||
style.innerHTML = ".card { page-break-after: always; float: none;}"
|
||||
jQuery("head", printDocument).append(style);
|
||||
}
|
||||
}
|
||||
|
||||
21
card.css
21
card.css
@ -14,6 +14,7 @@ body {
|
||||
margin: 0rem;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
.badge, .shadow {
|
||||
border-style: solid;
|
||||
@ -77,16 +78,16 @@ body {
|
||||
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;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
top: -0.03rem;
|
||||
left: -0.03rem;
|
||||
content: "";
|
||||
width: calc(100% - 0.03cm);
|
||||
height: calc(100% - 0.03cm);
|
||||
border-color: LightGray;
|
||||
border-style: dashed;
|
||||
border-width: 0.03cm;
|
||||
}
|
||||
.card-content {
|
||||
position: relative;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user