Fix min width and title detection in file collections
This commit is contained in:
parent
1032309cf5
commit
8b9e7e4fe2
@ -23,8 +23,8 @@ const StyledMainContainerWrapper = styled('div')`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledMainContainer = styled('div')`
|
const StyledMainContainer = styled('div')`
|
||||||
min-width: 1200px;
|
min-width: 1152px;
|
||||||
max-width: 1440px;
|
max-width: 1392px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
|
@ -356,7 +356,7 @@ export function selectInferedField(collection: Collection, fieldName: string) {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
)[fieldName];
|
)[fieldName];
|
||||||
const fields = 'fields' in collection ? collection.fields ?? [] : [];
|
const fields = 'fields' in collection ? collection.fields ?? [] : undefined;
|
||||||
let field;
|
let field;
|
||||||
|
|
||||||
// If collection has no fields or fieldName is not defined within inferables list, return null
|
// If collection has no fields or fieldName is not defined within inferables list, return null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user