shipping label

This commit is contained in:
jason
2026-03-19 15:57:39 -05:00
parent b762c70238
commit 9d54dc2ecd

View File

@@ -152,9 +152,9 @@ function buildShippingLabelPdf(options: {
<html> <html>
<head> <head>
<style> <style>
@page { size: 4in 6in; margin: 8mm; } @page { size: 4in 6in; margin: 0.15in; }
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: 11px; }
.label { border: 2px solid #111827; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 12px; min-height: calc(6in - 16mm); box-sizing: border-box; } .label { border: 2px solid #111827; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 12px; min-height: 5.7in; box-sizing: border-box; }
.row { display: flex; justify-content: space-between; gap: 12px; } .row { display: flex; justify-content: space-between; gap: 12px; }
.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: 10px; } .brand { border-bottom: 2px solid ${company.theme.primaryColor}; padding-bottom: 10px; }