Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: add prefix for classname (#7013)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitra-deriv authored Feb 6, 2024
1 parent a6e4864 commit 449666d
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/pages/help-centre/components/_side-tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const SideTab = ({ children, tab_header, data }: SideTabType) => {

return (
<Wrapper>
<div className={dclsx('visible-larger-than-tablet')}>
<div className={dclsx('at-visible-larger-than-tablet')}>
<Header max_width="38.4rem" size="3.6rem" mb="4rem">
<Localize translate_text={tab_header} />
</Header>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/markets/instruments/_crash-boom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ const CrashBoom = () => {
mb="4x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
<Typography.Paragraph
mb="4x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
Expand All @@ -47,7 +47,7 @@ const CrashBoom = () => {
mt="8x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv cTrader:_t_'} />
</Typography.Paragraph>
Expand All @@ -56,7 +56,7 @@ const CrashBoom = () => {
mt="8x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv cTrader:_t_'} />
</Typography.Paragraph>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/markets/instruments/_dex-indices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ const DexIndices = () => {
mb="4x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
<Typography.Paragraph
mb="4x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/markets/instruments/_drift_switch_indices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ const DriftSwitchIndices = () => {
mb="4x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
<Typography.Paragraph
mb="4x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/markets/instruments/_jump_indices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ const JumpIndices = ({ is_cfd }: JumpIndicesProps) => {
mb="4x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
<Typography.Paragraph
mb="4x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/markets/instruments/_range-break.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ const RangeBreak = () => {
mb="4x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
<Typography.Paragraph
mb="4x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/markets/instruments/_step-indices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ const StepIndices = ({ is_cfd }: StepIndicesProps) => {
mb="4x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
<Typography.Paragraph
mb="4x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/markets/instruments/_volatility-indices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ const VolatilityIndices = () => {
mb="4x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
<Typography.Paragraph
mb="4x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv MT5 and Deriv X:_t_'} />
</Typography.Paragraph>
Expand All @@ -49,7 +49,7 @@ const VolatilityIndices = () => {
mt="8x"
weight="bold"
size="small"
className={dclsx('visible-larger-than-phone')}
className={dclsx('at-visible-larger-than-phone')}
>
<Localize translate_text={'_t_Deriv cTrader:_t_'} />
</Typography.Paragraph>
Expand All @@ -58,7 +58,7 @@ const VolatilityIndices = () => {
mt="8x"
weight="bold"
size="xs"
className={dclsx('visible-phone-only')}
className={dclsx('at-visible-phone-only')}
>
<Localize translate_text={'_t_Deriv cTrader:_t_'} />
</Typography.Paragraph>
Expand Down

0 comments on commit 449666d

Please sign in to comment.