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

Commit

Permalink
chore: updated the breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-deriv committed Jan 9, 2024
1 parent e972a5e commit 7c55b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/contexts/floating-cta/cta.provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const FloatingCtaProvider = ({ children }: TFloatingCtaProps) => {
const isExitVisible = !!exit?.isIntersecting

useEffect(() => {
if (width < 601 && !is_logged_in) {
if (width < 1024 && !is_logged_in) {
const targetHeight = entry?.boundingClientRect?.height
const intersectionHeight = entry?.intersectionRect?.height
const percentage = (intersectionHeight / targetHeight) * 100
Expand Down

0 comments on commit 7c55b63

Please sign in to comment.