Review photo strip: refine the 'cannot be removed' lock glyph on required photos #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Nit — visual polish.
The "lock" shown on the two photos that cannot be deleted (clean calibration + dimension-overlay) looks like a made-up image. It is a crude hand-drawn CSS padlock and reads as low-effort. Refine it into a clean, professional lock indicator.
Where
frontend/src/create/review/Review.sveltep.required(rolecalibration|overlay), set ~line 225.<span class="ph-keep" class:required={p.required}>(~line 677); box is 16x16 (.ph-keep~line 977)..pcard.required .ph-keep::after= "shackle" (8x8 half-arc, border-radius 4px 4px 0 0).pcard.required .ph-keep::before= "body" (8x6 filled#002rounded rect)#00e5ffkeep-box fill.This arc+rect combo is the "made up image" — it does not read as a real padlock.
Spec
Preferred fix
Replace the two pseudo-element shapes with a single inline
<svg>padlock — crisp and scalable at 16px. CSS-only rework of the arc/body proportions is the fallback (fragile).Acceptance
npm run buildpasses (tsc --noEmit + vite build).Scope
frontend/src/create/review/Review.svelteonly (CSS + the single span markup if switching to inline SVG). Do NOT touch the delete/keep logic (p.required/p.kepthandlers) — visual only.Reported by Ty (nit). UAT host 192.168.1.202, main @
0c00d25.