mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix(Table): incomplete display of the top border of table when the window is small (#31298)
close #31279
This commit is contained in:
parent
0984bae2cc
commit
44313997da
@ -12,9 +12,7 @@
|
|||||||
|
|
||||||
> .@{table-prefix-cls}-container {
|
> .@{table-prefix-cls}-container {
|
||||||
// ============================ Content ============================
|
// ============================ Content ============================
|
||||||
border: @table-border;
|
border-left: @table-border;
|
||||||
border-right: 0;
|
|
||||||
border-bottom: 0;
|
|
||||||
|
|
||||||
> .@{table-prefix-cls}-content,
|
> .@{table-prefix-cls}-content,
|
||||||
> .@{table-prefix-cls}-header,
|
> .@{table-prefix-cls}-header,
|
||||||
@ -67,6 +65,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .@{table-prefix-cls}-content,
|
||||||
|
> .@{table-prefix-cls}-header {
|
||||||
|
> table {
|
||||||
|
border-top: @table-border;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.@{table-prefix-cls}-scroll-horizontal {
|
&.@{table-prefix-cls}-scroll-horizontal {
|
||||||
|
Loading…
Reference in New Issue
Block a user