ant-design/components/popconfirm/demo/placement.md
lijianan e8fa5938ab
site: rewrite with CSS logical properties (#50109)
* site: use CSS logical properties

* Update components/anchor/demo/targetOffset.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* chore: fix

* fix: add more

* fix: add more

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00

24 lines
553 B
Markdown
Executable File

## zh-CN
位置有十二个方向。如需箭头指向目标元素中心,可以设置 `arrow: { pointAtCenter: true }`
## en-US
There are 12 `placement` options available. Use `arrow: { pointAtCenter: true }` if you want the arrow to point at the center of target.
<style>
#popconfirm-demo-placement .ant-btn {
margin-inline-start: 0;
margin-inline-end: 8px;
margin-bottom: 8px;
width: 70px;
text-align: center;
padding: 0;
}
#popconfirm-demo-placement .ant-btn-rtl {
margin-inline-start: 8px;
margin-inline-end: 0;
}
</style>