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

删除记录时按钮显示错位,提供复现问题的方法 #951

Closed
citynook opened this issue Dec 23, 2023 · 2 comments
Closed

删除记录时按钮显示错位,提供复现问题的方法 #951

citynook opened this issue Dec 23, 2023 · 2 comments

Comments

@citynook
Copy link

citynook commented Dec 23, 2023

之前提的issue被关闭了,现重新说明一下,感觉红色框住的【更多】菜单和右侧的间距近的话,好像就容易出现按钮错位。我看了下其它的页面,【更多】菜单和右侧的间距比【用户管理】这个页面要宽一些,所以按钮显示是正常的。

另外,之前回复的图片中【系统用户】页面中【更多】菜单和右侧的间距比【用户管理】的大宽,所以显示也正常。

如果想复现,可以将【更多】菜单和右侧的间距调窄,让确认弹框更靠近右侧,可能就会复现这个问题。

1703301465201

@citynook citynook changed the title 没复现。请问你是点完之后再拖动的浏览器吗? 删除记录时按钮显示错位,提供复现问题的方法 Dec 23, 2023
@zhangdaiscott
Copy link
Member

zy

@liaozhiyang
Copy link

已修复,下一版本发布。(在TableAction文件修改更为妥当)
在 src/components/Table/src/components/TableAction.vue 文件
image
image

if (popConfirm) {
     const overlayClassName = popConfirm.overlayClassName;
     popConfirm.overlayClassName = `${overlayClassName ? overlayClassName : ''} ${prefixCls}-popconfirm`;
}
&-popconfirm {
      .ant-popconfirm-buttons {
        min-width: 120px;
      }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants