Skip to content

Commit

Permalink
fix: add high zIndex to MainUI toggle button
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn authored Sep 6, 2021
1 parent b12ff24 commit c180d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/my-gatsby-site/src/templates/SamplePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const SamplePage: JaenTemplate = () => {
alt: 'ta',
title: 'daa'
}}
style={{width: '50%'}}
style={{width: '100%'}}
/>
</Box>
</>
Expand Down
2 changes: 1 addition & 1 deletion packages/jaen-shared-ui/src/components/app/Main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Main: React.FC<MainProps> = props => {

return (
<>
<Box pos="fixed" bottom={5} right={5} ref={btnRef as any}>
<Box pos="fixed" bottom={5} right={5} ref={btnRef as any} zIndex="999999">
<JaenToggleButton ref={btnRef as any} onClick={onOpen} />
</Box>
<Drawer
Expand Down

0 comments on commit c180d92

Please sign in to comment.