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:
@@ -125,6 +125,7 @@ const SpoolSelectModal: React.FC<Props> = ({ visible, description, onCancel, onC
|
||||
<Table
|
||||
{...tableProps}
|
||||
rowKey="id"
|
||||
tableLayout="auto"
|
||||
dataSource={dataSource}
|
||||
pagination={false}
|
||||
scroll={{ y: 200 }}
|
||||
|
||||
@@ -189,6 +189,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
|
||||
<Table<IFilamentCollapsed>
|
||||
{...tableProps}
|
||||
sticky
|
||||
tableLayout="auto"
|
||||
scroll={{ x: "max-content" }}
|
||||
dataSource={dataSource}
|
||||
rowKey="id"
|
||||
|
||||
@@ -267,6 +267,7 @@ export const SpoolList: React.FC<IResourceComponentsProps> = () => {
|
||||
<Table
|
||||
{...tableProps}
|
||||
sticky
|
||||
tableLayout="auto"
|
||||
scroll={{ x: "max-content" }}
|
||||
dataSource={dataSource}
|
||||
rowKey="id"
|
||||
|
||||
1
client/src/pages/vendors/list.tsx
vendored
1
client/src/pages/vendors/list.tsx
vendored
@@ -126,6 +126,7 @@ export const VendorList: React.FC<IResourceComponentsProps> = () => {
|
||||
<Table
|
||||
{...tableProps}
|
||||
sticky
|
||||
tableLayout="auto"
|
||||
scroll={{ x: "max-content" }}
|
||||
dataSource={dataSource}
|
||||
rowKey="id"
|
||||
|
||||
Reference in New Issue
Block a user