Browse Source

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

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

2
components/message/style/index.ts

@ -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,

Loading…
Cancel
Save