Skip to content

Commit

Permalink
support(UI-Improvment): Accents are cropped on the Onboarding carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
mcayuelas-ledger committed Sep 21, 2022
1 parent fb0128b commit 66158fa
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-books-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Accents are cropped on the Onboarding carousel
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default function OnboardingQuizItem({
mb={7}
textAlign="center"
color="constant.black"
lineHeight="34.8px"
>
{selectedAnswer.title}
</Text>
Expand All @@ -64,7 +65,13 @@ export default function OnboardingQuizItem({
</Text>
</>
) : (
<Text variant="h2" mt={8} textAlign="center" color="constant.black">
<Text
variant="h2"
mt={8}
textAlign="center"
color="constant.black"
lineHeight="34.8px"
>
{question}
</Text>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ const Card = ({ index /* , deviceModelId */ }: CardType) => {
lightSource={images.light[index]}
/>
</Flex>
<Text variant="h2" mb={3} textAlign="center" color="constant.black">
<Text
variant="h2"
mb={3}
textAlign="center"
color="constant.black"
lineHeight="34.8px"
>
{t(`onboarding.stepNewDevice.${index}.title`)}
</Text>
<Text textAlign="center" variant="body" color="constant.black">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const IntroScene = () => {

return (
<>
<Text variant="h2" mb={10} uppercase>
<Text variant="h2" mb={10} uppercase lineHeight="34.8px">
{t("onboarding.stepSetupDevice.start.title")}
</Text>
<IconBoxList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ const QuizzFinalScene = ({ success }: { success: boolean }) => {

return (
<>
<Text variant="h2" color="palette.neutral.c100" mb={3} uppercase>
<Text
variant="h2"
color="palette.neutral.c100"
mb={3}
uppercase
lineHeight="34.8px"
>
{t(`onboarding.quizz.final.${success ? "successTitle" : "failTitle"}`)}
</Text>
<Text variant="paragraph" color="palette.neutral.c80" mb={10}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ const RecoveryPhraseScene = () => {

return (
<>
<Text variant="h2" color="palette.neutral.c100" mb={4} uppercase>
<Text
variant="h2"
color="palette.neutral.c100"
mb={4}
uppercase
lineHeight="34.8px"
>
{t("onboarding.stepSetupDevice.recoveryPhrase.title")}
</Text>
<Text variant="paragraph" color="palette.neutral.c80" mb={4}>
Expand Down

0 comments on commit 66158fa

Please sign in to comment.