mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
🐛 Fix Table overflow layout (#21905)
unscrollable table should not have overflow style close #21879 by revert #20705
This commit is contained in:
parent
4b0effbc0e
commit
164a4ac3b4
@ -4939,7 +4939,7 @@ exports[`renders ./components/table/demo/fixed-columns.md correctly 1`] = `
|
||||
>
|
||||
<div
|
||||
class="ant-table-content"
|
||||
style="overflow-x:scroll"
|
||||
style="overflow-x:scroll;overflow-y:hidden"
|
||||
>
|
||||
<table
|
||||
style="width:1300px;min-width:100%;table-layout:fixed"
|
||||
|
@ -589,11 +589,6 @@
|
||||
box-shadow: inset -10px 0 8px -8px darken(@shadow-color, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
// Fix for chrome overflow show the scrollbar
|
||||
&:not(&-fixed-header) &-content {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (-ms-high-contrast: none) {
|
||||
|
@ -123,7 +123,7 @@
|
||||
"rc-slider": "~9.2.1",
|
||||
"rc-steps": "~3.5.0",
|
||||
"rc-switch": "~1.9.0",
|
||||
"rc-table": "~7.1.0",
|
||||
"rc-table": "~7.2.0",
|
||||
"rc-tabs": "~10.0.0",
|
||||
"rc-tooltip": "~4.0.0",
|
||||
"rc-tree": "~3.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user