Skip to content

Commit

Permalink
fix: auto shrink text content if overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
truph01 committed Mar 7, 2025
1 parent 3ec26a9 commit d495300
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ function EarlyDiscountBanner({isSubscriptionPage, GuideBookingButton, onDismisse
const title = (
<View style={[styles.justifyContentBetween, styles.flexRow]}>
{isSubscriptionPage ? (
<Text style={styles.textStrong}>
<Text style={[styles.textStrong, styles.flexShrink1]}>
{translate('subscription.billingBanner.earlyDiscount.subscriptionPageTitle.phrase1', {discountType: discountInfo?.discountType})}&nbsp;
<Text>{translate('subscription.billingBanner.earlyDiscount.subscriptionPageTitle.phrase2')}</Text>
</Text>
) : (
<Text style={styles.textStrong}>
<Text style={[styles.textStrong, styles.flexShrink1]}>
{translate('subscription.billingBanner.earlyDiscount.onboardingChatTitle.phrase1')}&nbsp;
<Text>{translate('subscription.billingBanner.earlyDiscount.onboardingChatTitle.phrase2', {discountType: discountInfo?.discountType})}</Text>
</Text>
Expand Down

0 comments on commit d495300

Please sign in to comment.