diff --git a/receipt-printer/index.html b/receipt-printer/index.html index 15abcca..34f0478 100644 --- a/receipt-printer/index.html +++ b/receipt-printer/index.html @@ -9,17 +9,19 @@ -
-
- - -
-
- - -
- +
+
+
+ + +
+
+ + +
+ +
diff --git a/receipt-printer/script.js b/receipt-printer/script.js index 34474d4..e7ec396 100644 --- a/receipt-printer/script.js +++ b/receipt-printer/script.js @@ -599,6 +599,7 @@ async function CustomEvent(data) { // Send it to the print routine! const receiptHTML = await GetRenderedHTML(instance); + console.log(receiptHTML); client.doAction({ name: 'Receipt Printer | Print Routine' }, { receiptHTML: receiptHTML, isTest: data.isTest diff --git a/receipt-printer/style.css b/receipt-printer/style.css index d39304b..c79a1a8 100644 --- a/receipt-printer/style.css +++ b/receipt-printer/style.css @@ -2,8 +2,12 @@ body { font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif; text-align: center; - color: white; + margin: 0; + padding: 0; +} +#background { + color: white; background-color: #282828; display: flex; justify-content: center; @@ -52,8 +56,9 @@ input:disabled { opacity: 0.5; } -textarea:focus, input:focus { - outline: none; +textarea:focus, +input:focus { + outline: none; } #connect-box {