Fix Table sort style of right-aligned column

when size is small
This commit is contained in:
afc163 2018-10-10 14:45:56 +08:00
parent 9e72ca1b24
commit 46f4a3e9da

View File

@ -137,8 +137,13 @@
}
}
&.@{table-prefix-cls}-align-right {
padding-right: 30px;
// Repeat the class selector for prority
// https://github.com/ant-design/ant-design/commit/55a13a11fcea23fc4b5694cad7e2c32edc9128ee#r30842052
&.@{table-prefix-cls}-align-right.@{table-prefix-cls}-align-right {
&.@{table-prefix-cls}-column-has-sorters,
&.@{table-prefix-cls}-column-has-filters {
padding-right: 30px;
}
&.@{table-prefix-cls}-column-has-sorters.@{table-prefix-cls}-column-has-filters {
padding-right: 54px;