Merge pull request #15140 from vorbrodt/group-diagram-moves-on-its-own

Make diagram scale to viewport without growing on its own
This commit is contained in:
Patrik Oldsberg
2022-12-23 16:55:28 +01:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-explore': patch
---
Makes the `GroupsDiagram` not grown on screen on its own.
@@ -44,8 +44,10 @@ import useAsync from 'react-use/lib/useAsync';
const useStyles = makeStyles((theme: BackstageTheme) => ({
graph: {
minHeight: '100%',
flex: 1,
},
graphWrapper: {
display: 'flex',
height: '100%',
},
organizationNode: {