Skip to content

Commit

Permalink
fix: Layout overflow style for table sticky (ant-design#28176)
Browse files Browse the repository at this point in the history
* fix: Layout overflow style for table sticky

close ant-design#28154

* fix: Layout content bigger width

https://segmentfault.com/a/1190000019498300

* Update index.less
  • Loading branch information
afc163 authored and vouis committed Dec 10, 2020
1 parent 2c459af commit 42244e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/layout/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@

&&-has-sider {
flex-direction: row;

> .@{layout-prefix-cls},
> .@{layout-prefix-cls}-content {
overflow-x: hidden;
width: 0; // https://segmentfault.com/a/1190000019498300
}
}

Expand Down

0 comments on commit 42244e6

Please sign in to comment.