Skip to content

Commit 59cca89

Browse files
committed
fix "Pay with Expensify" button extends out of screen
1 parent 228fc50 commit 59cca89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MoneyReportHeader.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ function MoneyReportHeader({policy, report: moneyRequestReport, transactionThrea
729729
</HeaderWithBackButton>
730730
{shouldUseNarrowLayout && (
731731
<View style={[styles.flexRow, styles.gap2, styles.pb3, styles.ph5, styles.w100, styles.alignItemsCenter, styles.justifyContentCenter]}>
732-
{!!primaryAction && !shouldShowSelectedTransactionsButton && <View style={[styles.flexGrow4]}>{primaryActionsImplementation[primaryAction]}</View>}
732+
{!!primaryAction && !shouldShowSelectedTransactionsButton && <View style={[styles.flex1]}>{primaryActionsImplementation[primaryAction]}</View>}
733733
{!!applicableSecondaryActions.length && !shouldShowSelectedTransactionsButton && (
734734
<ButtonWithDropdownMenu
735735
success={false}
@@ -738,7 +738,7 @@ function MoneyReportHeader({policy, report: moneyRequestReport, transactionThrea
738738
customText={translate('common.more')}
739739
options={applicableSecondaryActions}
740740
isSplitButton={false}
741-
wrapperStyle={[!primaryAction && styles.flexGrow4]}
741+
wrapperStyle={[!primaryAction && styles.flex1]}
742742
/>
743743
)}
744744
</View>

0 commit comments

Comments
 (0)