Skip to content

Commit

Permalink
Fix page alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1206agra committed Nov 6, 2024
1 parent 5fd7a43 commit 5be926c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/workspace/perDiem/WorkspacePerDiemPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import * as Expensicons from '@components/Icon/Expensicons';
import * as Illustrations from '@components/Icon/Illustrations';
import LottieAnimations from '@components/LottieAnimations';
import ScreenWrapper from '@components/ScreenWrapper';
import ListItemRightCaretWithLabel from '@components/SelectionList/ListItemRightCaretWithLabel';
import TableListItem from '@components/SelectionList/TableListItem';
import type {ListItem} from '@components/SelectionList/types';
import SelectionListWithModal from '@components/SelectionListWithModal';
Expand Down Expand Up @@ -173,7 +172,6 @@ function WorkspacePerDiemPage({route}: WorkspacePerDiemPageProps) {
{CurrencyUtils.convertAmountToDisplayString(value.rate, value.currency)}
</Text>
</View>
<ListItemRightCaretWithLabel />
</>
),
};
Expand Down Expand Up @@ -202,7 +200,7 @@ function WorkspacePerDiemPage({route}: WorkspacePerDiemPageProps) {
};

const getCustomListHeader = () => (
<View style={[styles.flex1, styles.flexRow, styles.justifyContentBetween, styles.pl3, styles.pr8, !canSelectMultiple && styles.m5]}>
<View style={[styles.flex1, styles.flexRow, styles.justifyContentBetween, canSelectMultiple && styles.pl3, !canSelectMultiple && [styles.ph9, styles.pv3, styles.pb5]]}>
<View style={styles.flex1}>
<Text style={[styles.searchInputStyle, styles.alignSelfStart]}>{translate('workspace.perDiem.destination')}</Text>
</View>
Expand Down

0 comments on commit 5be926c

Please sign in to comment.