Skip to content

Commit

Permalink
fix: Table selection out of column when size is small/middle (#24394)
Browse files Browse the repository at this point in the history
close #24326
  • Loading branch information
afc163 committed May 22, 2020
1 parent 58ccb40 commit 1f371ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion components/style/themes/compact.less
Expand Up @@ -222,7 +222,6 @@
@table-padding-vertical-sm: 4px;
@table-padding-horizontal-sm: 4px;
@table-selection-column-width: 54px;
@table-selection-extra-right: -4px;

// Statistic
// ---
Expand Down
2 changes: 1 addition & 1 deletion components/style/themes/default.less
Expand Up @@ -573,7 +573,7 @@
@table-filter-dropdown-bg: @component-background;
@table-expand-icon-bg: @component-background;
@table-selection-column-width: 60px;
@table-selection-extra-right: -10px;
@table-selection-extra-right: 0;

// Tag
// --
Expand Down
2 changes: 2 additions & 0 deletions components/table/style/index.less
Expand Up @@ -360,6 +360,8 @@

table tr th&-selection-column,
table tr td&-selection-column {
padding-right: @padding-xs;
padding-left: @padding-xs;
text-align: center;

.@{ant-prefix}-radio-wrapper {
Expand Down

0 comments on commit 1f371ee

Please sign in to comment.