not hide scroll line when multiple lines

This commit is contained in:
zombiej 2019-07-15 17:59:29 +08:00
parent e8dabedb76
commit edacc50543

View File

@ -28,11 +28,13 @@
overflow-y: hidden !important;
}
// https://github.com/ant-design/ant-design/issues/17611
table {
width: 100%;
text-align: left;
border-radius: @table-border-radius-base @table-border-radius-base 0 0;
border-collapse: collapse;
border-collapse: separate;
border-spacing: 0;
}
&-thead > tr > th {
@ -638,7 +640,10 @@
border: 1px solid @border-color-split;
border-width: 1px 1px 1px 0;
}
&.@{table-prefix-cls}-hide-scrollbar .@{table-prefix-cls}-thead > tr > th:last-child {
&.@{table-prefix-cls}-hide-scrollbar
.@{table-prefix-cls}-thead
> tr:only-child
> th:last-child {
border-right-color: transparent;
}
}
@ -746,12 +751,6 @@
.@{table-prefix-cls}-thead > tr > th.@{table-prefix-cls}-column-has-actions {
background-clip: padding-box;
}
// https://github.com/ant-design/ant-design/issues/17611
.@{table-prefix-cls} table {
border-collapse: separate;
border-spacing: 0;
}
}
@import './size';