Auto-resizing, and larger.

This commit is contained in:
Ian Gulliver
2016-04-07 00:26:14 +00:00
parent 427b694978
commit 234d185976

View File

@@ -12,8 +12,6 @@
} }
.barcode { .barcode {
width: 400px;
height: 50px;
font-family: 'code-39'; font-family: 'code-39';
font-size: 24px; font-size: 24px;
} }
@@ -38,10 +36,8 @@
} }
.sysid { .sysid {
width: 400px;
height: 120px;
font-family: 'droid-sans-mono'; font-family: 'droid-sans-mono';
font-size: 96px; font-size: 140px;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
} }
@@ -51,6 +47,7 @@
} }
.block { .block {
width: 600px;
margin: 20px; margin: 20px;
} }
</style> </style>
@@ -89,6 +86,7 @@ document.addEventListener('DOMContentLoaded', (e) => {
break; break;
} }
barcodes.push(barcode); barcodes.push(barcode);
barcode.innerText = '**';
} }
sysid.addEventListener('input', (e) => { sysid.addEventListener('input', (e) => {
let barcodeText = '*' + sysid.innerText.toUpperCase() + '*'; let barcodeText = '*' + sysid.innerText.toUpperCase() + '*';