diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-09-20 12:17:34 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-09-20 16:07:06 +0200 |
| commit | 78255fc6a1ef18759670682c1d90cee685315493 (patch) | |
| tree | 1caf2586113917e9cd24c39d2e8475ffa59d0396 /opendc-web/opendc-web-ui/src/components/topologies/TopologyMap.js | |
| parent | 0b3d0ba3193ebcdeadc6a4b0a192eeb06e9add29 (diff) | |
fix(web/ui): Fix overflow of topology sidebar
This change fixes an issue with the web interface where the sidebar
would overflow due to the large number of rack slots that are displayed
in the sidebar.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/topologies/TopologyMap.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/components/topologies/TopologyMap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/topologies/TopologyMap.js b/opendc-web/opendc-web-ui/src/components/topologies/TopologyMap.js index 47235c7e..ff583750 100644 --- a/opendc-web/opendc-web-ui/src/components/topologies/TopologyMap.js +++ b/opendc-web/opendc-web-ui/src/components/topologies/TopologyMap.js @@ -55,9 +55,9 @@ function TopologyMap() { </EmptyState> </Bullseye> ) : ( - <Drawer isExpanded={isExpanded} className="full-height"> + <Drawer isExpanded={isExpanded}> <DrawerContent panelContent={panelContent}> - <DrawerContentBody> + <DrawerContentBody style={{ position: 'relative' }}> <MapStage hotkeysRef={hotkeysRef} /> <Collapse onClick={() => setExpanded(true)} /> </DrawerContentBody> |
