fix events on top panel (#226)

This commit is contained in:
Steve Ruiz 2021-11-07 14:42:27 +00:00 committed by GitHub
parent f30eb26003
commit 6951fb370c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,8 +52,13 @@ const StyledTopPanel = styled('div', {
right: 0, right: 0,
display: 'flex', display: 'flex',
flexDirection: 'row', flexDirection: 'row',
pointerEvents: 'none',
'& > *': {
pointerEvents: 'all',
},
}) })
const StyledSpacer = styled('div', { const StyledSpacer = styled('div', {
flexGrow: 2, flexGrow: 2,
pointerEvents: 'none',
}) })