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/ProjectSelector.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/ProjectSelector.js')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/components/context/ProjectSelector.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/context/ProjectSelector.js b/opendc-web/opendc-web-ui/src/components/context/ProjectSelector.js index 5f47c798..f2791b38 100644 --- a/opendc-web/opendc-web-ui/src/components/context/ProjectSelector.js +++ b/opendc-web/opendc-web-ui/src/components/context/ProjectSelector.js @@ -36,14 +36,14 @@ function ProjectSelector() { return ( <ContextSelector - label="Project" - activeItem={activeProject} + id="project" + type="app" + toggleText={activeProject ? activeProject.name : 'Select project'} items={projects} onSelect={(project) => router.push(`/projects/${project.id}`)} onToggle={setOpen} isOpen={isOpen} isFullHeight - type="app" /> ) } |
