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
|
<Table
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
tableLayout="auto"
|
||||||
dataSource={dataSource}
|
dataSource={dataSource}
|
||||||
pagination={false}
|
pagination={false}
|
||||||
scroll={{ y: 200 }}
|
scroll={{ y: 200 }}
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
|
|||||||
<Table<IFilamentCollapsed>
|
<Table<IFilamentCollapsed>
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
sticky
|
sticky
|
||||||
|
tableLayout="auto"
|
||||||
scroll={{ x: "max-content" }}
|
scroll={{ x: "max-content" }}
|
||||||
dataSource={dataSource}
|
dataSource={dataSource}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
|||||||
@@ -267,6 +267,7 @@ export const SpoolList: React.FC<IResourceComponentsProps> = () => {
|
|||||||
<Table
|
<Table
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
sticky
|
sticky
|
||||||
|
tableLayout="auto"
|
||||||
scroll={{ x: "max-content" }}
|
scroll={{ x: "max-content" }}
|
||||||
dataSource={dataSource}
|
dataSource={dataSource}
|
||||||
rowKey="id"
|
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
|
<Table
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
sticky
|
sticky
|
||||||
|
tableLayout="auto"
|
||||||
scroll={{ x: "max-content" }}
|
scroll={{ x: "max-content" }}
|
||||||
dataSource={dataSource}
|
dataSource={dataSource}
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
|||||||
Reference in New Issue
Block a user