Skip to content

Commit f61c9a7

Browse files
committed
fix(MUSD-741): left-align Money title via HeaderBaseVariant.Display
The Compact variant of HeaderStandard centers the title; switch to Display so the "Money" heading sits on the left as in the original design while keeping the kebab menu on the right.
1 parent 8e1bd23 commit f61c9a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/components/UI/Money/components/MoneyHeader/MoneyHeader.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22
import {
33
FontWeight,
4+
HeaderBaseVariant,
45
HeaderStandard,
56
IconName,
67
TextVariant,
@@ -18,6 +19,7 @@ interface MoneyHeaderProps {
1819
const MoneyHeader = ({ onMenuPress }: MoneyHeaderProps) => (
1920
<HeaderStandard
2021
testID={MoneyHeaderTestIds.CONTAINER}
22+
variant={HeaderBaseVariant.Display}
2123
title={strings('money.title')}
2224
titleProps={{
2325
variant: TextVariant.HeadingLg,

0 commit comments

Comments
 (0)