Skip to content

Commit be716dd

Browse files
authored
Merge pull request #37668 from dragnoir/37417-fix
Fix: add spacing between long category name and category status
2 parents 2ff35c4 + 09a8ffd commit be716dd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/workspace/categories/WorkspaceCategoriesPage.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP
7171
isSelected: !!selectedCategories[value.name],
7272
rightElement: (
7373
<View style={styles.flexRow}>
74-
<Text style={[styles.disabledText, styles.alignSelfCenter]}>{value.enabled ? translate('workspace.common.enabled') : translate('workspace.common.disabled')}</Text>
74+
<Text style={[styles.textSupporting, styles.alignSelfCenter, styles.pl2, styles.label]}>
75+
{value.enabled ? translate('workspace.common.enabled') : translate('workspace.common.disabled')}
76+
</Text>
7577
<View style={[styles.p1, styles.pl2]}>
7678
<Icon
7779
src={Expensicons.ArrowRight}
@@ -81,7 +83,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP
8183
</View>
8284
),
8385
})),
84-
[policyCategories, selectedCategories, styles.alignSelfCenter, styles.disabledText, styles.flexRow, styles.p1, styles.pl2, theme.icon, translate],
86+
[policyCategories, selectedCategories, styles.alignSelfCenter, styles.flexRow, styles.label, styles.p1, styles.pl2, styles.textSupporting, theme.icon, translate],
8587
);
8688

8789
const toggleCategory = (category: PolicyForList) => {

0 commit comments

Comments
 (0)