Skip to content

Commit

Permalink
Merge pull request #41615 from Expensify/cmartins-fixlayoutonios
Browse files Browse the repository at this point in the history
Fix layout on ios
  • Loading branch information
lakchote authored May 6, 2024
2 parents 0c2d513 + 64da3b8 commit 4c243a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function Search({query}: SearchProps) {
}}
shouldPreventDefaultFocusOnSelectRow={!DeviceCapabilities.canUseTouchScreen()}
listHeaderWrapperStyle={[styles.ph9, styles.pv3, styles.pb5]}
containerStyle={[styles.pv0]}
/>
);
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/SelectionList/TransactionListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function TransactionListItem<TItem extends ListItem>({
/>
<Text
numberOfLines={1}
style={[styles.textMicroBold]}
style={[styles.textMicroBold, styles.flexShrink1]}
>
{displayName}
</Text>
Expand Down Expand Up @@ -164,14 +164,14 @@ function TransactionListItem<TItem extends ListItem>({
<>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.justifyContentBetween, styles.mb2, styles.gap2]}>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.gap1, styles.flex1]}>
<View style={[styles.flexGrow0, styles.flexShrink1, styles.mw50]}>{userCell(transactionItem.from)}</View>
<View style={[styles.mw50]}>{userCell(transactionItem.from)}</View>
<Icon
src={Expensicons.ArrowRightLong}
width={variables.iconSizeXXSmall}
height={variables.iconSizeXXSmall}
fill={theme.icon}
/>
<View style={[styles.flexGrow0, styles.flexShrink1, styles.mw50]}>{userCell(transactionItem.to)}</View>
<View style={[styles.mw50]}>{userCell(transactionItem.to)}</View>
</View>
<View style={[StyleUtils.getWidthStyle(variables.w80)]}>{actionCell}</View>
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Search/SearchPageBottomTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function SearchPageBottomTab() {
return (
<ScreenWrapper
testID={SearchPageBottomTab.displayName}
style={styles.pt0}
style={styles.pv0}
>
<FullPageNotFoundView
shouldShow={!isValidQuery}
Expand Down

0 comments on commit 4c243a2

Please sign in to comment.