Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix layout on ios #41615

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading