Skip to content

Commit

Permalink
Fix HelpScout mobile styles
Browse files Browse the repository at this point in the history
  • Loading branch information
robmorieson committed Oct 13, 2022
1 parent 171b9f4 commit 06c5acb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/HelpScout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,17 +181,17 @@ const HelpScout = ({

useEffect(() => {
setPositionStyles({
bottom: windowHeight < 740 ? '10px' : '40px',
bottom: windowHeight <= 740 ? '10px' : '40px',
right:
horizontalPosition === 'left'
? 'auto'
: windowHeight < 740
: windowHeight <= 740
? '20px'
: '40px',
left:
horizontalPosition === 'right'
? 'auto'
: windowHeight < 740
: windowHeight <= 740
? '20px'
: '40px'
})
Expand Down

0 comments on commit 06c5acb

Please sign in to comment.