Commit 46b5efe
committed
fix(MUSD-741): use HeaderBase directly so Money title left-aligns
HeaderStandard wraps the title prop in a BoxColumn with alignItems
Center, which forces the title to center regardless of the parent
HeaderBaseVariant. Switch to HeaderBase directly with the title as a
string child; HeaderBaseVariant.Display then renders it left-aligned
with HeadingLg. Replaces the previous attempt that only flipped the
variant without escaping HeaderStandard's centering wrap.1 parent f61c9a7 commit 46b5efe
1 file changed
Lines changed: 6 additions & 11 deletions
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 21 | + | |
29 | 22 | | |
30 | 23 | | |
31 | 24 | | |
| |||
34 | 27 | | |
35 | 28 | | |
36 | 29 | | |
37 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
0 commit comments