Skip to content

Commit

Permalink
style: Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Feb 11, 2024
1 parent aa26a1b commit 3f60676
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/components/ChatBotContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -487,28 +487,28 @@ const ChatBotContainer = ({ flow }: { flow: Flow }) => {
<ChatBotButton unreadCount={unreadCount}/>
{/* styles and prevents background from scrolling on mobile when chat window is open */}
{botOptions.isOpen && !isDesktop && !botOptions.theme?.embedded &&
<>
<style>
{`
<>
<style>
{`
body {
overflow: hidden;
touch-action: none;
}
`}
</style>
<div
style={{
position: "fixed",
top: 0,
left: 0,
width: "100%",
height: "100%",
background: `linear-gradient(to right, ${botOptions.theme?.secondaryColor},
</style>
<div
style={{
position: "fixed",
top: 0,
left: 0,
width: "100%",
height: "100%",
background: `linear-gradient(to right, ${botOptions.theme?.secondaryColor},
${botOptions.theme?.primaryColor})`,
zIndex: 9999
}}
>
</div>
zIndex: 9999
}}
>
</div>
</>
}
<div
Expand Down

0 comments on commit 3f60676

Please sign in to comment.