diff --git a/packages/gitbook/src/components/DocumentView/Table/StickyViewGrid.tsx b/packages/gitbook/src/components/DocumentView/Table/StickyViewGrid.tsx
index a015aa430..5e86ed44e 100644
--- a/packages/gitbook/src/components/DocumentView/Table/StickyViewGrid.tsx
+++ b/packages/gitbook/src/components/DocumentView/Table/StickyViewGrid.tsx
@@ -93,7 +93,7 @@ export function StickyViewGrid({ className, header, children }: StickyViewGridPr
@@ -123,6 +123,7 @@ export function StickyViewGrid({ className, header, children }: StickyViewGridPr
className={tcls(
styles.tableScrollArea,
'w-full min-w-0 overflow-x-auto overflow-y-hidden border-tint-subtle',
+ 'group-data-[scrollable=true]/table:mx-px',
'group-data-[scrollable=true]/table:border-0',
'group-data-[scrollable=true]/table:rounded-none'
)}
diff --git a/packages/gitbook/src/components/DocumentView/Table/Table.tsx b/packages/gitbook/src/components/DocumentView/Table/Table.tsx
index 81ed678e3..166cb8bde 100644
--- a/packages/gitbook/src/components/DocumentView/Table/Table.tsx
+++ b/packages/gitbook/src/components/DocumentView/Table/Table.tsx
@@ -56,8 +56,9 @@ export function Table(props: BlockProps) {