diff --git a/packages/cfd/src/Components/cfd-account-card.tsx b/packages/cfd/src/Components/cfd-account-card.tsx index dbd392075556..bb331b9fcedf 100644 --- a/packages/cfd/src/Components/cfd-account-card.tsx +++ b/packages/cfd/src/Components/cfd-account-card.tsx @@ -2,7 +2,7 @@ import classNames from 'classnames'; import React from 'react'; import { CSSTransition } from 'react-transition-group'; import { Icon, Money, Button, Text, DesktopWrapper, MobileWrapper, Popover } from '@deriv/components'; -import { isMobile, mobileOSDetect, getCFDPlatformLabel, CFD_PLATFORMS } from '@deriv/shared'; +import { isMobile, mobileOSDetect, getCFDPlatformLabel, CFD_PLATFORMS, isDesktop } from '@deriv/shared'; import { localize, Localize } from '@deriv/translations'; import { connect } from 'Stores/connect'; import RootStore from 'Stores/index'; @@ -330,21 +330,25 @@ const CFDAccountCardComponent = ({ )} - {platform === CFD_PLATFORMS.MT5 && type.type === 'financial' && !isMobile() && is_logged_in && ( - + {platform === CFD_PLATFORMS.MT5 && isDesktop() && is_logged_in && ( +
+ {type.type === 'financial' && ( + + )} +
)} {existing_data &&
} diff --git a/packages/cfd/src/sass/cfd-dashboard.scss b/packages/cfd/src/sass/cfd-dashboard.scss index 81fa7740f26f..54a4861304a1 100644 --- a/packages/cfd/src/sass/cfd-dashboard.scss +++ b/packages/cfd/src/sass/cfd-dashboard.scss @@ -1086,11 +1086,16 @@ } } + &__acuity-container { + height: 3.4rem; + margin: 1.6rem; + } + &__acuity-banner { background: var(--general-section-1); - height: 3.4rem; border-radius: 0.8rem; - margin: 1.6rem; + width: 100%; + height: 100%; &--wrapper { display: flex;