A connector isn’t a connector isn’t a connector. In the photo below, the original PCB was designed to have an unshrouded breakaway header, as shown in the inset on the right. I measured it. The entire header fits within the silkscreen outline.
However, as you can see, a shrouded header was used in that spot. While as designed, there was plenty of clearance between the header and the two capacitors and resister, the shroud for the substituted header covers all of the resistor and half of the capacitors.
You can prototype it this way, but it will never fly in production.
Find the ghosts of Dawnstar