Fixed table layout being fixed by the new sticky headers

This caused the columns to not get auto-sized, which broke it especially bad on iOS
This commit is contained in:
Donkie
2023-10-30 22:30:01 +01:00
parent 2c8d3602f0
commit bc55f5e9af
4 changed files with 4 additions and 0 deletions

View File

@@ -189,6 +189,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
<Table<IFilamentCollapsed>
{...tableProps}
sticky
tableLayout="auto"
scroll={{ x: "max-content" }}
dataSource={dataSource}
rowKey="id"

View File

@@ -267,6 +267,7 @@ export const SpoolList: React.FC<IResourceComponentsProps> = () => {
<Table
{...tableProps}
sticky
tableLayout="auto"
scroll={{ x: "max-content" }}
dataSource={dataSource}
rowKey="id"

View File

@@ -126,6 +126,7 @@ export const VendorList: React.FC<IResourceComponentsProps> = () => {
<Table
{...tableProps}
sticky
tableLayout="auto"
scroll={{ x: "max-content" }}
dataSource={dataSource}
rowKey="id"