diff --git a/src/BaseTable.tsx b/src/BaseTable.tsx index fb3eb61a8..9caf046ae 100644 --- a/src/BaseTable.tsx +++ b/src/BaseTable.tsx @@ -149,7 +149,7 @@ class BaseTable extends React.Component> { if (!fixed && scroll.x) { // not set width, then use content fixed width - tableStyle.width = scroll.x === true ? 'max-content' : scroll.x; + tableStyle.width = scroll.x === true ? 'auto' : scroll.x; } const Table = hasBody ? components.table : 'table';