This question is linked to this one: New Google Play badge doesn't get the size right
One of the comment suggests to add a margin around the App Store badge imag
i'd would suggest to use padding: 6% on the Apple badge, with box-sizing: border-box of course, then you can set equal height on both badges
padding: 6%
box-sizing: border-box