Skip to content

Commit 141c556

Browse files
committed
fix some minor display aestetics
1 parent 751b19e commit 141c556

1 file changed

Lines changed: 26 additions & 16 deletions

File tree

src/ui/screens/onboarding-pages/overview/OnboardingWelcomeOverview.js

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,19 @@ const OnboardingWelcomeOverviewView = ({
5858
backgroundColor: 'white.main',
5959
}}>
6060
<VBox>
61-
<ul>
62-
{benefitTitles.map((title, idx) => (
63-
<li key={idx}>
64-
<Typography variant="body1" sx={{ fontWeight: '400' }}>
65-
{title}
66-
</Typography>
67-
</li>
68-
))}
69-
</ul>
61+
{benefitTitles.map((title, idx) => (
62+
<HBox
63+
key={idx}
64+
sx={{
65+
backgroundColor: 'greyTransparent.main',
66+
padding: '6px 18px',
67+
borderRadius: theme.shape.borderRadius,
68+
}}>
69+
<Typography variant='body1'>
70+
{title}
71+
</Typography>
72+
</HBox>
73+
))}
7074
</VBox>
7175
</HBox>
7276
</VBox>
@@ -80,19 +84,25 @@ const OnboardingWelcomeOverviewView = ({
8084
borderRadius: theme.shape.borderRadius,
8185
backgroundColor: 'white.main',
8286
}}>
83-
<VBox sx={{ gap: 2 }}>
87+
<VBox sx={{ gap: { xs: 2, md: 4 } }}>
8488
<Typography variant="h2">
8589
{pickLang(topic.title, language, '')}
8690
</Typography>
87-
<ul>
88-
{rps.map((rpTitle, i) => (
89-
<li key={i}>
90-
<Typography>
91+
<VBox sx={{ gap: 1 }}>
92+
{rps.map((rpTitle, idx) => (
93+
<HBox
94+
key={idx}
95+
sx={{
96+
backgroundColor: 'greyTransparent.main',
97+
padding: '6px 18px',
98+
borderRadius: theme.shape.borderRadius,
99+
}}>
100+
<Typography variant='body1'>
91101
{rpTitle}
92102
</Typography>
93-
</li>
103+
</HBox>
94104
))}
95-
</ul>
105+
</VBox>
96106
</VBox>
97107
</HBox>
98108
))}

0 commit comments

Comments
 (0)