Browse Source

style: fix Popover width in rtl mode (#39311)

close #39195
pull/39329/head
afc163 2 years ago
committed by GitHub
parent
commit
a8dd587971
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      components/popover/style/index.tsx

6
components/popover/style/index.tsx

@ -36,7 +36,11 @@ const genBaseStyle: GenerateStyle<PopoverToken> = (token) => {
...resetComponent(token),
position: 'absolute',
top: 0,
insetInlineStart: 0,
// use `left` to fix https://github.com/ant-design/ant-design/issues/39195
left: {
_skip_check_: true,
value: 0,
},
zIndex: zIndexPopup,
fontWeight: 'normal',
whiteSpace: 'normal',

Loading…
Cancel
Save