The popup on the select is positioned in the way that its top-right corner is placed at bottom-right corner of the anchor element (the select itself here)

As margin-top:4px is applied to the popup then it is offset from the anchor by that value.