Skip to content

Commit

Permalink
Hamza/ hotfix: compare account text size difference (binary-com#9950)
Browse files Browse the repository at this point in the history
* chore: compare account text size difference

* chore: compare account text size difference on mobile
  • Loading branch information
hamza-deriv committed Sep 5, 2023
1 parent c4c70de commit 3316701
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ const CompareAccount = ({ accounts_sub_text, is_desktop }: TCompareAccount) => {
history.push(routes.compare_cfds);
}}
>
<Text size='xs' color='red' weight='bold' line_height='s' styles={is_desktop ? { marginLeft: '1rem' } : ''}>
<Text
size={is_desktop ? 'xxs' : 'xs'}
color='red'
weight='bold'
line_height='s'
styles={is_desktop ? { marginLeft: '1rem' } : ''}
>
<Localize i18n_default_text={accounts_sub_text} />
</Text>
</div>
Expand Down

0 comments on commit 3316701

Please sign in to comment.