Skip to content

Commit

Permalink
Minor improvements and bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
reichert621 committed Aug 30, 2020
1 parent f53179d commit 5328f3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/EmbeddableWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,16 @@ class EmbeddableWidget extends React.Component<Props, State> {
className='Papercups-chatWindowContainer'
sandbox={sandbox}
animate={isActive ? 'open' : 'closed'}
initial='closed'
variants={{
closed: {opacity: 0, y: 4},
open: {opacity: 1, y: 0},
}}
transition={{duration: 0.2, ease: 'easeIn'}}
src={`${iframeUrl}?${query}`}
style={isActive ? {} : {pointerEvents: 'none'}}
style={
isActive ? {} : {pointerEvents: 'none', height: 0, minHeight: 0}
}
sx={{
border: 'none',
bg: 'background',
Expand Down
1 change: 1 addition & 0 deletions src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export const getThemeConfig = (settings: ThemeSettings) => {
borderRadius: 8,
overflow: 'hidden',
notifications: {
background: 'transparent',
margin: 0,
zIndex: 2147483000,
position: 'fixed',
Expand Down

0 comments on commit 5328f3f

Please sign in to comment.