diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-09-15 10:17:44 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-09-20 16:07:06 +0200 |
| commit | 24b857ae580fcbea441e7cb91bc7aba681fc6c8b (patch) | |
| tree | 3a16128ba34400ff8b4a8cb81e1e3556e167264f /opendc-web/opendc-web-ui/src/components/context/TopologySelector.js | |
| parent | 9dd75a9a40f7f2aebbc617980c99085f9dc688f8 (diff) | |
feat(web/ui): Reduce height of application header
This change reduces the height of the application header to 3.5rem to
increase the screen real-estate that we can use for the application
content.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/context/TopologySelector.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/components/context/TopologySelector.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/context/TopologySelector.js b/opendc-web/opendc-web-ui/src/components/context/TopologySelector.js index 9cae4cbf..355d9f4b 100644 --- a/opendc-web/opendc-web-ui/src/components/context/TopologySelector.js +++ b/opendc-web/opendc-web-ui/src/components/context/TopologySelector.js @@ -34,7 +34,8 @@ function TopologySelector({ activeTopology }) { return ( <ContextSelector - label="Topology" + id="topology" + toggleText={activeTopology ? `Topology: ${activeTopology.name}` : 'Select topology'} activeItem={activeTopology} items={topologies} onSelect={(topology) => router.push(`/projects/${topology.project.id}/topologies/${topology.number}`)} |
