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

展开图标不垂直居中问题 #78

Open
weishen-cna opened this issue Aug 31, 2022 · 6 comments
Open

展开图标不垂直居中问题 #78

weishen-cna opened this issue Aug 31, 2022 · 6 comments

Comments

@weishen-cna
Copy link

当table有可展开数据时,自定义 bodyCell 内容设置了一个高度后,展开图标不垂直居中
示例:https://codesandbox.io/s/awesome-elion-mkkylg?file=/src/App.vue:129-137

@tangjinzhou
Copy link
Contributor

对于展开图标单独占一个单元格的时候会自动垂直居中,如果是和其他内容在一个单元格里,不会自动处理,毕竟有的人是不需要居中的,你可以添加如下样式让其居中

.surely-table-cell-inner .surely-table-cell-content {
    display: flex;
    align-items: center;
}

@tangjinzhou
Copy link
Contributor

另外发布了 2.4.8 , 修复了一些小问题,可以升级下

@weishen-cna
Copy link
Author

weishen-cna commented Aug 31, 2022 via email

@weishen-cna
Copy link
Author

weishen-cna commented Aug 31, 2022 via email

@tangjinzhou
Copy link
Contributor

tangjinzhou commented Sep 1, 2022

在包一层这个倒是没问题,下个版本加上
但依然不会自动居中的

@tangjinzhou
Copy link
Contributor

2.4.9 已添加

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

2 participants