mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Support section.gridColumns
This commit is contained in:
@ -388,9 +388,9 @@ function RecordView({table, launchProcess}: Props): JSX.Element
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
sectionFieldElements.set(section.name,
|
sectionFieldElements.set(section.name,
|
||||||
<Grid id={section.name} key={section.name} item lg={12} xs={12} sx={{display: "flex", alignItems: "stretch", scrollMarginTop: "100px"}}>
|
<Grid id={section.name} key={section.name} item lg={section.gridColumns ?? 12} xs={12} sx={{display: "flex", alignItems: "stretch", scrollMarginTop: "100px"}}>
|
||||||
<Box width="100%">
|
<Box width="100%">
|
||||||
<Card id={section.name} sx={{overflow: "visible", scrollMarginTop: "100px"}}>
|
<Card id={section.name} sx={{overflow: "visible", scrollMarginTop: "100px", height: "100%"}}>
|
||||||
<Typography variant="h6" p={3} pb={1}>
|
<Typography variant="h6" p={3} pb={1}>
|
||||||
{section.label}
|
{section.label}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
Reference in New Issue
Block a user