hair's breadth

a very short distance or small amount (used to indicate how close something is to something else).