Skip to content

Commit

Permalink
reduce the gap (78, 79, 80)
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Jan 11, 2024
1 parent 2921f1a commit 112cffd
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/pages/settings/Wallet/ChooseTransferAccountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function ChooseTransferAccountPage(props) {
title={props.translate('chooseTransferAccountPage.chooseAccount')}
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WALLET_TRANSFER_BALANCE)}
/>
<View style={[styles.mt6, styles.flexShrink1, styles.flexBasisAuto]}>
<View style={[styles.mt3, styles.flexShrink1, styles.flexBasisAuto]}>
<PaymentMethodList
onPress={selectAccountAndNavigateBack}
shouldShowSelectedState
Expand Down
3 changes: 1 addition & 2 deletions src/pages/workspace/WorkspaceMembersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ function WorkspaceMembersPage(props) {
}}
shouldShowBackButton={isSmallScreenWidth}
guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_MEMBERS}
shouldShowBorderBottom
/>
<ConfirmModal
danger
Expand All @@ -455,7 +454,7 @@ function WorkspaceMembersPage(props) {
})
}
/>
<View style={[styles.w100, styles.flex1, styles.mt6]}>
<View style={[styles.w100, styles.flex1, styles.mt3]}>
<View style={[styles.w100, styles.flexRow, styles.ph5]}>
<Button
medium
Expand Down
1 change: 0 additions & 1 deletion src/pages/workspace/WorkspacePageWithSections.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ function WorkspacePageWithSections({
guidesCallTaskID={guidesCallTaskID}
shouldShowBackButton={isSmallScreenWidth}
onBackButtonPress={() => Navigation.goBack(backButtonRoute)}
shouldShowBorderBottom
/>
{(isLoading || firstRender.current) && shouldShowLoading ? (
<FullScreenLoadingIndicator style={[styles.flex1, styles.pRelative]} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/bills/WorkspaceBillsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function WorkspaceBillsPage(props) {
shouldShowOfflineIndicatorInWideScreen
>
{(hasVBA, policyID) => (
<View style={[styles.mt6, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<View style={[styles.mt3, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
{!hasVBA && <WorkspaceBillsNoVBAView policyID={policyID} />}
{hasVBA && <WorkspaceBillsVBAView policyID={policyID} />}
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/card/WorkspaceCardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function WorkspaceCardPage(props) {
shouldShowOfflineIndicatorInWideScreen
>
{(hasVBA, policyID, isUsingECard) => (
<View style={[styles.mt6, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<View style={[styles.mt3, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
{!hasVBA && <WorkspaceCardNoVBAView policyID={policyID} />}

{hasVBA && !isUsingECard && <WorkspaceCardVBANoECardView />}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/invoices/WorkspaceInvoicesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function WorkspaceInvoicesPage({route}: WorkspaceInvoicesPageProps) {
shouldShowOfflineIndicatorInWideScreen
>
{(hasVBA: boolean, policyID: string) => (
<View style={[styles.mt6, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<View style={[styles.mt3, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
{!hasVBA && <WorkspaceInvoicesNoVBAView policyID={policyID} />}
{hasVBA && <WorkspaceInvoicesVBAView policyID={policyID} />}
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/reimburse/WorkspaceReimburseView.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function WorkspaceReimburseView(props) {
}, [props.policy.customUnits, getCurrentRatePerUnitLabel]);

return (
<View style={[styles.mt6, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<View style={[styles.mt3, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<Section
title={translate('workspace.reimburse.captureReceipts')}
icon={Illustrations.MoneyReceipts}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/travel/WorkspaceTravelPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function WorkspaceTravelPage(props) {
shouldShowOfflineIndicatorInWideScreen
>
{(hasVBA, policyID) => (
<View style={[styles.mt6, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<View style={[styles.mt3, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
{!hasVBA && <WorkspaceTravelNoVBAView policyID={policyID} />}
{hasVBA && <WorkspaceTravelVBAView />}
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default {
iconSizeExtraLarge: 40,
iconSizeSuperLarge: 60,
iconSizeUltraLarge: 120,
iconBottomBar: 25,
iconBottomBar: 24,
emojiSize: 20,
emojiLineHeight: 28,
iouAmountTextSize: 40,
Expand Down

0 comments on commit 112cffd

Please sign in to comment.