mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 18:15:35 +01:00
Fix board component scrolling layout consistency
This commit is contained in:
parent
cda9c684c3
commit
432be5a5d5
2 changed files with 7 additions and 5 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue