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

pull/7102/head
cc heart 1 year ago committed by GitHub
parent 2bdeed1432
commit b22875db33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save