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 4ea2f45 commit 8237d2d
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 8237d2d

Please sign in to comment.