Skip to content

Commit e521c1f

Browse files
committed
feat: update RuxInfo component to use titleContainer class for consistent styling
1 parent 4a33fc9 commit e521c1f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/ReturnUserExperience/RuxInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const RuxInfo = ({ handleRuxContinue }: { handleRuxContinue: () => void }
4040

4141
return (
4242
<>
43-
<Stack spacing="6px" sx={{ paddingTop: '16px', paddingRight: '16px', paddingLeft: '16px' }}>
43+
<Stack className={styles.titleContainer} spacing="6px">
4444
<Text bold={true} className={styles.centerText} truncate={false} variant="h2">
4545
{__('Connect your accounts')}
4646
</Text>

src/ReturnUserExperience/returnUserExperience.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,9 @@
6868
height: 48px;
6969
min-width: 48px;
7070
}
71+
72+
.titleContainer {
73+
padding-top: 16px;
74+
padding-right: 16px;
75+
padding-left: 16px;
76+
}

0 commit comments

Comments
 (0)