fix(message): message offset error (#7093)

pull/7102/head
cc heart 2023-11-11 09:53:59 +08:00 committed by GitHub
parent 2bdeed1432
commit b22875db33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ const genMessageStyle: GenerateStyle<MessageToken> = token => {
...resetComponent(token),
position: 'fixed',
top: marginXS,
left: '50%',
transform: 'translateX(-50%)',
width: '100%',
pointerEvents: 'none',
zIndex: zIndexPopup,