File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
@tablePrefixCls : rc- table;
2
- @text-color : #666 ;
3
- @font-size-base : 12px ;
2
+ @text-color : #666 ;
3
+ @font-size-base : 12px ;
4
4
@line-height : 1.5 ;
5
5
@table-border-color : #e9e9e9 ;
6
6
@table-head-background-color : #f7f7f7 ;
Original file line number Diff line number Diff line change @@ -532,8 +532,7 @@ function Table<RecordType extends DefaultRecordType>(props: TableProps<RecordTyp
532
532
{ showHeader !== false && (
533
533
< div
534
534
style = { {
535
- ...scrollXStyle ,
536
- marginBottom : fixColumn ? - scrollbarSize : null ,
535
+ overflow : 'hidden' ,
537
536
} }
538
537
onScroll = { onScroll }
539
538
ref = { scrollHeaderRef }
Original file line number Diff line number Diff line change @@ -796,7 +796,7 @@ exports[`Table.FixedColumn renders correctly scrollXY - with data 1`] = `
796
796
>
797
797
<div
798
798
class = " rc-table-header"
799
- style = " overflow-x: scroll; margin-bottom: -15px ;"
799
+ style = " overflow: hidden ;"
800
800
>
801
801
<table
802
802
style = " table-layout: fixed;"
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ exports[`Table.Basic custom components renders fixed column and header correctly
75
75
>
76
76
<div
77
77
class = " rc-table-header"
78
- style = " overflow-x: scroll; margin-bottom: -15px ;"
78
+ style = " overflow: hidden ;"
79
79
>
80
80
<table
81
81
style = " table-layout: fixed; visibility: hidden;"
@@ -196,7 +196,7 @@ exports[`Table.Basic custom components scroll content with scroll 1`] = `
196
196
>
197
197
<div
198
198
class = " rc-table-header"
199
- style = " overflow-x: scroll; margin-bottom: -15px ;"
199
+ style = " overflow: hidden ;"
200
200
>
201
201
<table
202
202
style = " table-layout: fixed;"
You can’t perform that action at this time.
0 commit comments