ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[bug report] there is a style problem when multiple table components are selected #20669

Open Hao8816 opened 3 years ago

Hao8816 commented 3 years ago

Element UI version

2.14.1

OS/Browsers version

Mac Chrome Version 85.0

Vue version

2.6.11

Reproduction Link

https://codepen.io/hao8816/pen/vYXaQja

Steps to reproduce

使用table组件多选时,发现最新版本checkbox的样式出现不对齐的情况

What is Expected?

Table多选时checkbox和表头的是对齐的

What is actually happening?

目前没有对其, 2.12.0之前的版本没有问题, 2.14.1新版本有问题

element-bot commented 3 years ago

Translation of this issue:\n\n### Element UI version\n2.14.1\n\n### OS/Browsers version\nMac Chrome Version 85.0\n\n### Vue version\n2.6.11\n\n### Reproduction Link\nhttps://codepen.io/hao8816/pen/vYXaQja\n\n### Steps to reproduce\nWhen using the table component to select multiple items, it is found that the style of the latest version of the checkbox is not aligned\n\n### What is Expected?\nWhen you select multiple tables, the checkbox and the header are aligned\n\n### What is actually happening?\nAt present, there is no problem with the version before 2.12.0 and the new version 2.14.1\n\n

Hao8816 commented 3 years ago

image

laoshangwei commented 3 years ago

Table-column Attributes 有对齐方式 选择center就可以解决 align="center"

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.