Fix board component scrolling layout consistency
This commit is contained in:
@@ -100,9 +100,11 @@ export function BoardEditColumn({
|
||||
</Box>
|
||||
)}
|
||||
{renderedComponent ? (
|
||||
<Box width="100%" height="100%" overflow="auto">
|
||||
{renderedComponent}
|
||||
</Box>
|
||||
<Column width="100%" height="100%" style={{ minHeight: 0 }}>
|
||||
<Box width="100%" flexGrow={1} overflow="auto" style={{ minHeight: 0 }}>
|
||||
{renderedComponent}
|
||||
</Box>
|
||||
</Column>
|
||||
) : (
|
||||
canEdit && (
|
||||
<Column width="100%" height="100%" alignItems="center" justifyContent="center">
|
||||
|
||||
@@ -18,8 +18,8 @@ export function BoardViewColumn({ component }: { component?: BoardComponentConfi
|
||||
|
||||
return (
|
||||
<Panel title={title} description={description} height="100%">
|
||||
<Column width="100%" height="100%">
|
||||
<Box width="100%" overflow="auto">
|
||||
<Column width="100%" height="100%" style={{ minHeight: 0 }}>
|
||||
<Box width="100%" flexGrow={1} style={{ minHeight: 0 }}>
|
||||
<BoardComponentRenderer config={component} websiteId={websiteId} />
|
||||
</Box>
|
||||
</Column>
|
||||
|
||||
Reference in New Issue
Block a user