style(table): 优化表格样式并添加全局美化
- 在 component.less 中添加了 ele-pro-table 的全局美化样式 - 调整了表格的列宽、对齐方式等样式 - 优化了表格的视觉效果,提高了可读性
This commit is contained in:
@@ -1,2 +1,17 @@
|
||||
/** 组件样式 */
|
||||
//@input-item: 300px;
|
||||
|
||||
/* ele-pro-table 全局美化样式 */
|
||||
.ele-pro-table .ant-table-thead > tr > th {
|
||||
border-bottom: 2px solid #f0f0f0;
|
||||
background-color: #fafafa;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.ele-pro-table .ant-table-tbody > tr > td {
|
||||
border-bottom: 1px solid #f5f5f5;
|
||||
}
|
||||
|
||||
.ele-pro-table .ant-table-tbody > tr:hover > td {
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user