fix(po): keep export stamp clear of the signature (no overlap) #61
No reviewers
Labels
No labels
bug
claude-failed
claude-pr
claude-queue
claude-working
feature
interactive
portal
triaged
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: shad0w/pelagia-portal#61
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/stamp-no-overlap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #60. In the XLSX export, the company stamp slightly overlapped the right tail of the (centred) signature. Because uploaded signatures/stamps aren't always transparent PNGs, an opaque stamp would cover the signature or name there.
Fix
lib/po-export-layout.ts→signatoryLayout: the signature is centred over the name, and the stamp sits to its right with a 10px gap so it never overlaps the signature or name. With no signature, the stamp right-aligns in the block.Verification
po-export-layout.test.tsasserts centring + no-overlap (incl. the widest sig+stamp case).pnpm testgreen (204), type-check clean.🤖 Generated with Claude Code
Reference issue #53