Fix uneven padding in the onboarding trust badge (#23174)

The "+10k" trust badge on the onboarding import contacts step had 2px
left padding vs 10px right, so the PwC logo hugged the left edge. The
badge now has equal padding on both sides so its content is centered.
<img width="347" height="168" alt="image"
src="https://github.com/user-attachments/assets/05e18541-827e-4ace-99ce-7e8c4201cd1b"
/>
This commit is contained in:
Raphaël Bosi
2026-07-22 16:07:55 +02:00
committed by GitHub
parent de3889e04a
commit eddb56d26e
@@ -37,9 +37,7 @@ const StyledBadge = styled.div<{ hasClusterLeading: boolean }>`
overflow: hidden;
padding: 0 10px 0
${({ hasClusterLeading }) =>
hasClusterLeading
? themeCssVariables.spacing['0.5']
: themeCssVariables.spacing[1]};
hasClusterLeading ? '10px' : themeCssVariables.spacing[1]};
`;
const StyledSeal = styled.img`