Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

popconfirm with no icon and no text content has wrong margin top #2690

Closed
wc-matteo opened this issue Mar 28, 2022 · 0 comments · Fixed by #2692
Closed

popconfirm with no icon and no text content has wrong margin top #2690

wc-matteo opened this issue Mar 28, 2022 · 0 comments · Fixed by #2692
Assignees
Labels
bug Something isn't working

Comments

@wc-matteo
Copy link

wc-matteo commented Mar 28, 2022

TuSimple/naive-ui version (版本)

2.27.0

Vue version (Vue 版本)

3.2.31

Browser and its version (浏览器及其版本)

chrome 99.0.4844.82

System and its version (系统及其版本)

win 10

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/tender-jepsen-cjrb3s?file=/src/Demo.vue

Reappearance steps (重现步骤)

use a popconfirm with no icon (:show-icon="false") and no text content

Expected results (期望的结果)

symmetrical space all around the container

Actual results (实际的结果)

there is more space at the top cause this .n-popconfirm .n-popconfirm__action has a static margin top

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Mar 28, 2022
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Mar 28, 2022
@XieZongChen XieZongChen self-assigned this Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants