Header can be scroll in fixed-columns Table, close ant-design/ant-design#2068

This commit is contained in:
afc163 2016-06-16 21:56:13 +08:00
parent 0e68738fc7
commit e385b56821
2 changed files with 14 additions and 3 deletions

View File

@ -393,11 +393,22 @@
height: 100%;
}
&-fixed-header &-body-inner,
&-fixed-header &-header {
&-fixed-header &-body {
position: relative;
background: #fff;
}
&-fixed-header &-body-inner {
overflow-y: scroll;
}
&-fixed-header &-header {
overflow-x: scroll;
overflow-y: hidden;
padding-bottom: 20px;
margin-bottom: -20px;
}
&-fixed-left,
&-fixed-right {
position: absolute;

View File

@ -60,7 +60,7 @@
"rc-slider": "~3.7.0",
"rc-steps": "~2.1.3",
"rc-switch": "~1.4.2",
"rc-table": "~4.1.4",
"rc-table": "~4.2.0",
"rc-tabs": "~5.9.1",
"rc-time-picker": "~1.1.4",
"rc-tooltip": "~3.3.2",