UX: Make sure there's always a margin on badges page (PR #13693)

Otherwise there’s a button hugging the the viewport frame.

GitHub

Merging since this looks like a low risk change.