fix: small/middle table selection dropdown margin issue (#35174)

* fix: small/middle table selection dropdown margin issue

* Update index.less
This commit is contained in:
afc163 2022-04-22 16:01:20 +08:00 committed by GitHub
parent 6a00bddade
commit e14ec001a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -456,7 +456,7 @@
cursor: pointer; cursor: pointer;
transition: all 0.3s; transition: all 0.3s;
margin-inline-start: 100%; margin-inline-start: 100%;
padding-inline-start: @table-padding-horizontal-md / 4; padding-inline-start: (@table-padding-horizontal / 4);
.@{iconfont-css-prefix} { .@{iconfont-css-prefix} {
color: @table-header-icon-color; color: @table-header-icon-color;

View File

@ -35,7 +35,7 @@
// https://github.com/ant-design/ant-design/issues/35167 // https://github.com/ant-design/ant-design/issues/35167
.@{table-prefix-cls}-selection-column { .@{table-prefix-cls}-selection-column {
padding-inline-start: @padding-horizontal / 4; padding-inline-start: (@padding-horizontal / 4);
} }
} }
} }