Skip to content

Commit

Permalink
fix: #571 table thead filter icon
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxy0551 committed Jan 9, 2025
1 parent f1c198f commit 8ee49e8
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions theme/dt-theme/default/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@
table {
border-radius: 0;
}
.ant-table-thead {
.ant-table-cell {
// 筛选图标的列
.ant-table-filter-column {
.ant-table-filter-trigger {
margin: 0;
> .anticon {
font-size: 16px;
}
}
}
}
}
.ant-table-cell {
.ant-form-item {
margin-bottom: 0;
Expand Down Expand Up @@ -44,7 +57,7 @@
}

.ant-table-column-sorter {
margin-left: 7px;
margin-left: 4px;
display: flex;
}

Expand Down Expand Up @@ -765,7 +778,7 @@

// 排序图标的间距
.ant-table-column-sorter-up + .ant-table-column-sorter-down {
margin-top: -0.5em;
margin-top: -0.6em;
}

// 行选中样式
Expand Down

0 comments on commit 8ee49e8

Please sign in to comment.