This commit is contained in:
jason
2026-03-19 16:19:48 -05:00
parent 6423dfb91b
commit 0c3b2cf6fe
2 changed files with 98 additions and 2 deletions

View File

@@ -152,9 +152,9 @@ function buildShippingLabelPdf(options: {
<html>
<head>
<style>
@page { size: 4in 6in; margin: 0.1in; }
@page { size: 4in 6in; margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; padding: 0; }
html, body { width: 4in; height: 6in; margin: 0; padding: 0.15in; overflow: hidden; }
body { font-family: ${company.theme.fontFamily}, Arial, sans-serif; color: #111827; font-size: 11px; }
.label { border: 2px solid #111827; border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 6px; height: 100%; overflow: hidden; }
.row { display: flex; justify-content: space-between; gap: 8px; }