This commit is contained in:
jason
2026-03-19 16:34:18 -05:00
parent 0c3b2cf6fe
commit 39fd876d51

View File

@@ -154,9 +154,9 @@ function buildShippingLabelPdf(options: {
<style> <style>
@page { size: 4in 6in; margin: 0; } @page { size: 4in 6in; margin: 0; }
*, *::before, *::after { box-sizing: border-box; } *, *::before, *::after { box-sizing: border-box; }
html, body { width: 4in; height: 6in; margin: 0; padding: 0.15in; overflow: hidden; } html, body { width: 4in; height: 6in; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; overflow: hidden; background: white; }
body { font-family: ${company.theme.fontFamily}, Arial, sans-serif; color: #111827; font-size: 11px; } body { font-family: ${company.theme.fontFamily}, Arial, sans-serif; color: #111827; font-size: 10.5px; }
.label { border: 2px solid #111827; border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 6px; height: 100%; overflow: hidden; } .label { width: 3in; height: 5in; border: 2px solid #111827; border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.row { display: flex; justify-content: space-between; gap: 8px; } .row { display: flex; justify-content: space-between; gap: 8px; }
.muted { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: #4b5563; } .muted { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: #4b5563; }
.brand { border-bottom: 2px solid ${company.theme.primaryColor}; padding-bottom: 6px; } .brand { border-bottom: 2px solid ${company.theme.primaryColor}; padding-bottom: 6px; }