mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
not hide scroll line when multiple lines
This commit is contained in:
parent
e8dabedb76
commit
edacc50543
@ -28,11 +28,13 @@
|
|||||||
overflow-y: hidden !important;
|
overflow-y: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://github.com/ant-design/ant-design/issues/17611
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-radius: @table-border-radius-base @table-border-radius-base 0 0;
|
border-radius: @table-border-radius-base @table-border-radius-base 0 0;
|
||||||
border-collapse: collapse;
|
border-collapse: separate;
|
||||||
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-thead > tr > th {
|
&-thead > tr > th {
|
||||||
@ -638,7 +640,10 @@
|
|||||||
border: 1px solid @border-color-split;
|
border: 1px solid @border-color-split;
|
||||||
border-width: 1px 1px 1px 0;
|
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;
|
border-right-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -746,12 +751,6 @@
|
|||||||
.@{table-prefix-cls}-thead > tr > th.@{table-prefix-cls}-column-has-actions {
|
.@{table-prefix-cls}-thead > tr > th.@{table-prefix-cls}-column-has-actions {
|
||||||
background-clip: padding-box;
|
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';
|
@import './size';
|
||||||
|
Loading…
Reference in New Issue
Block a user