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

Commit

Permalink
Merge pull request #242 from deriv-com/prince/quick-trustpilot-respon…
Browse files Browse the repository at this point in the history
…sive-fix

Prince/fix: responsive rendering
  • Loading branch information
prince-deriv authored Dec 5, 2023
2 parents ea1e37e + b4f6a92 commit 0190a6e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libs/blocks/src/lib/social-proof/horizontal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@ const SocialProofHorizontal = ({
{content && (
<>
<Text
className={qtMerge(themeClassNames.color, 'max-md:hidden')}
className={qtMerge(themeClassNames.color, 'max-lg:hidden')}
>
{content(data)[0]}
</Text>
<Text
size="md"
bold
className={qtMerge(themeClassNames.color, 'max-sm:hidden')}
className={qtMerge(
themeClassNames.color,
'max-md:hidden max-sm:hidden',
)}
>
{content(data)[1]}
</Text>
Expand Down

0 comments on commit 0190a6e

Please sign in to comment.