Skip to content

Commit

Permalink
fix: added margin top to subtitle and margin right to gear icon for c…
Browse files Browse the repository at this point in the history
…ategories
  • Loading branch information
MrMuzyk committed Mar 7, 2024
1 parent b6e2b9a commit 8b5b3cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP
medium
onPress={navigateToCategoriesSettings}
icon={Expensicons.Gear}
iconStyles={[styles.mr2]}
text={translate('common.settings')}
style={[isSmallScreenWidth && styles.w50]}
/>
Expand All @@ -142,7 +143,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP
{!isSmallScreenWidth && settingsButton}
</HeaderWithBackButton>
{isSmallScreenWidth && <View style={[styles.pl5, styles.pr5]}>{settingsButton}</View>}
<View style={[styles.ph5, styles.pb5]}>
<View style={[styles.ph5, styles.pb5, styles.pt3]}>
<Text style={[styles.textNormal, styles.colorMuted]}>{translate('workspace.categories.subtitle')}</Text>
</View>
{isLoading && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,9 @@ function PolicyDistanceRatesPage({policy, route}: PolicyDistanceRatesPageProps)
{!isSmallScreenWidth && headerButtons}
</HeaderWithBackButton>
{isSmallScreenWidth && <View style={[styles.ph5]}>{headerButtons}</View>}
<View style={[styles.ph5, styles.pb5]}>
<View style={[styles.ph5, styles.pb5, styles.pt3]}>
<Text style={[styles.textNormal, styles.colorMuted]}>{translate('workspace.distanceRates.centrallyManage')}</Text>
</View>
{/* <Text style={[styles.pl5, styles.pb2, styles.pt4, styles.textSupporting]}>{translate('workspace.distanceRates.centrallyManage')}</Text> */}
<SelectionList
canSelectMultiple
ListItem={TableListItem}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/tags/WorkspaceTagsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function WorkspaceTagsPage({policyTags, route}: WorkspaceTagsPageProps) {
title={translate('workspace.common.tags')}
shouldShowBackButton={isSmallScreenWidth}
/>
<View style={[styles.ph5, styles.pb5]}>
<View style={[styles.ph5, styles.pb5, styles.pt3]}>
<Text style={[styles.textNormal, styles.colorMuted]}>{translate('workspace.tags.subtitle')}</Text>
</View>
{tagList.length ? (
Expand Down

0 comments on commit 8b5b3cf

Please sign in to comment.