Skip to content

Commit

Permalink
fix(pro:table): modify trigger padding of last column (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
sallerli1 authored Aug 2, 2024
1 parent c23652f commit 501b128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pro/table/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
.@{pro-table-prefix}-layout-tool-trigger + .@{table-prefix}-fixed-holder {
table > thead > tr:first-child {
th:nth-last-of-type(2) .@{table-prefix}-cell-triggers {
padding-right: 30px;
padding-right: calc(var(--ix-font-size-icon) + var(--ix-padding-size-sm) * 2 - var(--ix-scrollbar-width));
}
}
}
Expand All @@ -130,7 +130,7 @@
.@{pro-table-prefix}-layout-tool-trigger + .@{table-prefix}-fixed-holder {
table > thead > tr:first-child {
th:last-child > .@{table-prefix}-cell-triggers {
padding-right: 38px;
padding-right: calc(var(--ix-font-size-icon) + var(--ix-padding-size-sm) * 2);
}
}
}
Expand Down

0 comments on commit 501b128

Please sign in to comment.