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/sidebar | |
| 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/sidebar')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/RackSidebar.module.scss | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/RackSidebar.module.scss b/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/RackSidebar.module.scss index 6f258aec..f4c8829f 100644 --- a/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/RackSidebar.module.scss +++ b/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/RackSidebar.module.scss @@ -1,12 +1,14 @@ .sidebarContainer { display: flex; - height: 100%; - max-height: 100%; flex-direction: column; + + height: 100%; } .machineListContainer { - flex: 1; - overflow-y: scroll; + overflow-y: auto; + + flex: 1 0 300px; + margin-top: 10px; } |
