From c561a0c2ffb41368edd0c1f0ea704ea55946bf99 Mon Sep 17 00:00:00 2001 From: Ahmad Mirzaei Date: Wed, 22 Nov 2023 13:50:23 +0100 Subject: [PATCH] chore: fix border issue (#474) --- src/pivot-table/components/PivotTable.tsx | 4 ++-- src/pivot-table/components/containers/FullSizeContainer.tsx | 5 +++-- src/pivot-table/components/containers/StickyContainer.tsx | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pivot-table/components/PivotTable.tsx b/src/pivot-table/components/PivotTable.tsx index cd544897..f2d5cdcf 100644 --- a/src/pivot-table/components/PivotTable.tsx +++ b/src/pivot-table/components/PivotTable.tsx @@ -153,8 +153,8 @@ export const StickyPivotTable = ({ showHorizontalScrollbar origin={ScrollableContainerOrigin.LEFT_GRID} > - - + + ( +const FullSizeContainer = ({ width, height, children, isLeftGrid }: FullSizeContainerProps): JSX.Element => (
diff --git a/src/pivot-table/components/containers/StickyContainer.tsx b/src/pivot-table/components/containers/StickyContainer.tsx index 9d190104..75a64db8 100644 --- a/src/pivot-table/components/containers/StickyContainer.tsx +++ b/src/pivot-table/components/containers/StickyContainer.tsx @@ -5,16 +5,17 @@ interface StickyContainerProps { height: number; children: ReactNode; style?: React.CSSProperties; + isLeftGrid?: boolean; } -const StickyContainer = ({ width, height, children, style }: StickyContainerProps): JSX.Element => ( +const StickyContainer = ({ width, height, children, style, isLeftGrid }: StickyContainerProps): JSX.Element => (