Browse Source

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

pull/2073/head
afc163 9 years ago
parent
commit
e385b56821
  1. 15
      components/table/style/index.less
  2. 2
      package.json

15
components/table/style/index.less

@ -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;

2
package.json

@ -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",

Loading…
Cancel
Save