chore: prevent collision by default in custom home page
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@backstage/plugin-home': patch
|
||||
---
|
||||
|
||||
Enable collision prevention by default in custom home page.
|
||||
|
||||
This change ensures that items in the home page will not collide with each other
|
||||
making the user experience better.
|
||||
@@ -349,7 +349,7 @@ export const CustomHomepageGrid = (props: CustomHomepageGridProps) => {
|
||||
compactType={props.compactType}
|
||||
style={props.style}
|
||||
allowOverlap={props.allowOverlap}
|
||||
preventCollision={props.preventCollision}
|
||||
preventCollision={props.preventCollision ?? true}
|
||||
draggableCancel=".overlayGridItem,.widgetSettingsDialog,.disabled"
|
||||
containerPadding={props.containerPadding}
|
||||
margin={props.containerMargin}
|
||||
|
||||
Reference in New Issue
Block a user