Etymology
Today it means: by a small margin or amount Full definition →
at + a + pinch (“tight squeeze”)
Etymology from Wiktionary, CC BY-SA 4.0.