feat: add manual Paperless ID synchronization for email attachments and update default barcode margins to 7mm.
Build and Push Multi-Platform Images / build-and-push (push) Successful in 36s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 36s
This commit is contained in:
@@ -116,8 +116,8 @@ export default function BarcodePositioner({
|
||||
py += containerRef.current.scrollTop;
|
||||
}
|
||||
|
||||
// Constraints: 6mm margin from edge
|
||||
const margin = 6 * scale;
|
||||
// Constraints: 7mm margin from edge
|
||||
const margin = 7 * scale;
|
||||
px = Math.max(margin, Math.min(px, cr.width - barcodeW - margin));
|
||||
const pageHeightPx = PAGE_HEIGHT_MM * scale;
|
||||
py = Math.max(margin, Math.min(py, pageHeightPx - barcodeH - margin));
|
||||
|
||||
@@ -65,8 +65,8 @@ export default function MailImportWizard({ visible, onClose, email, attachments
|
||||
initialData.forEach(d => {
|
||||
initialDates[d.virtualId] = mailDate;
|
||||
initialBarcodes[d.virtualId] = {
|
||||
x: 6,
|
||||
y: 6,
|
||||
x: 7,
|
||||
y: 7,
|
||||
datum: mailDate.format('YYYY-MM-DD'),
|
||||
jahr: mailDate.format('YYYY'),
|
||||
isNeu: true,
|
||||
|
||||
Reference in New Issue
Block a user