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

Commit

Permalink
fix: zoom out issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Nov 15, 2023
1 parent f9596b3 commit 7448797
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion libs/templates/src/lib/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function HomeTemplate() {
<WhyTradeSection />
<AccountSection />
<FastPaymentSection />
{/* <ReviewSection /> */}
<ReviewSection />
<ProvenExcellenceSection />
<StaticNumberBlock />
<CTASection />
Expand Down
15 changes: 8 additions & 7 deletions libs/templates/src/lib/home/sections/review/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import styles from './review.module.css';
import { FluidContainer, qtMerge } from '@deriv/quill-design';
import { FluidContainer, Section, qtMerge } from '@deriv/quill-design';
import { useEffect, useRef } from 'react';
import Script from 'next/script';

Expand All @@ -12,9 +11,11 @@ const ReviewSection = () => {
}, []);

return (
<FluidContainer>
<div className="my-general-xl flex flex-col items-center gap-general-xl rounded-xl py-general-3xl">
<div className={qtMerge('flex', styles['truspilot-zoom'])}>
<Section
className={qtMerge('py-general-4xl', 'bg-background-primary-container')}
>
<FluidContainer className="flex flex-col items-center rounded-xl max-sm:w-[90%] sm:py-general-lg">
<div className={qtMerge('flex scale-150 max-sm:scale-100')}>
<Script
key="trustpilot-widget"
type="text/javascript"
Expand Down Expand Up @@ -42,8 +43,8 @@ const ReviewSection = () => {
</a>
</div>
</div>
</div>
</FluidContainer>
</FluidContainer>
</Section>
);
};

Expand Down
3 changes: 0 additions & 3 deletions libs/templates/src/lib/home/sections/review/review.module.css

This file was deleted.

0 comments on commit 7448797

Please sign in to comment.