Skip to content

Commit

Permalink
Merge pull request #38611 from Expensify/lucien/fix-workflows-connect…
Browse files Browse the repository at this point in the history
…-bank-account-label

[Simplified Collect] [Workflows] Connect bank account label is too small in Workspace > Workflows
  • Loading branch information
rlinoz authored Mar 20, 2024
2 parents e1d7718 + cb50888 commit 3311062
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function WorkspaceWorkflowsPage({policy, betas, route, reimbursementAccount, ses
subMenuItems: (
<>
<MenuItem
titleStyle={styles.textLabelSupportingNormal}
titleStyle={hasVBA ? styles.textLabelSupportingNormal : styles.textLabelSupportingEmptyValue}
descriptionTextStyle={styles.textNormalThemeText}
title={hasVBA ? translate('common.bankAccount') : translate('workflowsPage.connectBankAccount')}
description={state === BankAccount.STATE.OPEN ? bankDisplayName : undefined}
Expand Down
7 changes: 7 additions & 0 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,13 @@ const styles = (theme: ThemeColors) =>
color: theme.textSupporting,
},

textLabelSupportingEmptyValue: {
fontFamily: FontUtils.fontFamily.platform.EXP_NEUE,
fontSize: variables.fontSizeNormal,
fontWeight: FontUtils.fontWeight.normal,
color: theme.textSupporting,
},

textLabelSupportingNormal: {
fontFamily: FontUtils.fontFamily.platform.EXP_NEUE,
fontSize: variables.fontSizeLabel,
Expand Down

0 comments on commit 3311062

Please sign in to comment.