Skip to content

Commit

Permalink
Tailored flows: fix newsletter description (#71242)
Browse files Browse the repository at this point in the history
  • Loading branch information
alshakero authored Dec 15, 2022
1 parent afcb24d commit 0ed2a8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,8 @@ const useIntroContent = ( flowName: string | null ): IntroContent => {
if ( flowName === NEWSLETTER_FLOW ) {
return {
title: __( 'Sign in. Set up. Send out.' ),
text: createInterpolateElement(
__(
`You’re a few steps away from launching a beautiful Newsletter with<br />everything you’ll ever need to grow your audience.`
),
{ br: <br /> }
text: __(
`You’re a few steps away from launching a beautiful Newsletter with everything you’ll ever need to grow your audience.`
),
buttonText: __( 'Start building your Newsletter' ),
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Props {

export interface IntroContent {
title: WPElement | string;
text?: WPElement;
text?: WPElement | string;
buttonText: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
background-position-y: 10vh;
}
}
.intro__description {
max-width: 450px;
margin: auto;
}
}

&.link-in-bio {
Expand Down

0 comments on commit 0ed2a8a

Please sign in to comment.