the background-size: cover should make sure the entire badge background is covered regardless of badge proportion.