We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ee199 commit 9d6f5beCopy full SHA for 9d6f5be
src/BaseTable.tsx
@@ -149,7 +149,7 @@ class BaseTable<ValueType> extends React.Component<BaseTableProps<ValueType>> {
149
150
if (!fixed && scroll.x) {
151
// not set width, then use content fixed width
152
- tableStyle.width = scroll.x === true ? 'max-content' : scroll.x;
+ tableStyle.width = scroll.x === true ? 'auto' : scroll.x;
153
}
154
155
const Table = hasBody ? components.table : 'table';
0 commit comments