fix: closing modal sometimes covered by header (#2097)

This commit is contained in:
Peng Xiao
2023-04-24 12:43:40 +08:00
committed by GitHub
parent 7ff12a6d0f
commit ab8669882a
2 changed files with 5 additions and 5 deletions

View File

@@ -34,6 +34,7 @@ export const StyledModal = styled(ModalUnstyled, {
left: '0',
top: '0',
zIndex: 'var(--affine-z-index-modal)',
WebkitAppRegion: 'no-drag',
'*': {
WebkitTapHighlightColor: 'transparent',
outline: 'none',