Fix style overlap with sorter when long text in Table column header

close #12650

ref #12552
This commit is contained in:
afc163 2018-11-04 15:53:27 +08:00
parent c3513fba67
commit 1784949e94

View File

@ -140,17 +140,14 @@
}
}
// 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;
}
// https://github.com/ant-design/ant-design/issues/12650
&.@{table-prefix-cls}-column-has-sorters,
&.@{table-prefix-cls}-column-has-filters {
padding-right: 30px !important;
}
&.@{table-prefix-cls}-column-has-sorters.@{table-prefix-cls}-column-has-filters {
padding-right: 54px;
}
&.@{table-prefix-cls}-column-has-sorters.@{table-prefix-cls}-column-has-filters {
padding-right: 54px !important;
}
}