Skip to content

Commit 175cb5d

Browse files
authored
Merge pull request #91795 from Expensify/claude-agentBannerUITweaks
fix: adjust agent promotional banner UI to match design mocks
2 parents db97d7d + cc42a30 commit 175cb5d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/components/AgentPromotionalBanner.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function AgentPromotionalBanner({title, subtitle, onDismiss, dismissSentryLabel,
8383
return (
8484
<Button
8585
success
86-
small
86+
medium
8787
text={ctaText}
8888
onPress={onCtaPress}
8989
sentryLabel={ctaSentryLabel}
@@ -97,8 +97,8 @@ function AgentPromotionalBanner({title, subtitle, onDismiss, dismissSentryLabel,
9797
icon={illustrations.AiBot}
9898
title={titleNode}
9999
subtitle={subtitle}
100-
subtitleStyle={[styles.mt1]}
101-
style={[styles.borderRadiusComponentLarge, styles.gap4]}
100+
subtitleStyle={[styles.mt1, styles.textLabel]}
101+
style={[styles.borderRadiusComponentLarge]}
102102
rightIcon={expensifyIcons.Close}
103103
onRightIconPress={onDismiss}
104104
rightIconAccessibilityLabel={translate('common.dismiss')}

src/pages/settings/Subscription/CardSection/BillingBanner/BillingBanner.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function BillingBanner({
7575
return onRightIconPress && rightIconAccessibilityLabel ? (
7676
<PressableWithoutFeedback
7777
onPress={onRightIconPress}
78-
style={[styles.touchableButtonImage]}
78+
style={[styles.touchableButtonImage, styles.threeDotsMenuIconWidth]}
7979
role={CONST.ROLE.BUTTON}
8080
accessibilityLabel={rightIconAccessibilityLabel}
8181
sentryLabel={rightIconSentryLabel ?? CONST.SENTRY_LABEL.BILLING_BANNER.RIGHT_ICON}
@@ -108,6 +108,7 @@ function BillingBanner({
108108
rightIconAccessibilityLabel,
109109
rightIconSentryLabel,
110110
styles.touchableButtonImage,
111+
styles.threeDotsMenuIconWidth,
111112
theme.danger,
112113
theme.icon,
113114
theme.success,

0 commit comments

Comments
 (0)