Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Initial changes to top menu spacings

Benjamin Bädorf75ffdc63298b
diff --git a/frontend/src/app/core/main-menu/main-menu-toggle.component.ts b/frontend/src/app/core/main-menu/main-menu-toggle.component.ts
index a94641aea02..c6ca255d243 100644
--- a/frontend/src/app/core/main-menu/main-menu-toggle.component.ts
+++ b/frontend/src/app/core/main-menu/main-menu-toggle.component.ts
@@ -47,7 +47,7 @@ export const mainMenuToggleSelector = 'main-menu-toggle';
template: `
<button
*ngIf="this.currentProject.id !== null || this.deviceService.isMobile"
- class="op-app-menu--item-action"
+ class="op-app-menu--item-action op-main-menu-toggle--button"
id="main-menu-toggle"
aria-haspopup="true"
type="button"
diff --git a/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass b/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass
index f7a3a714a8c..c1f68ae82f0 100644
--- a/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass
+++ b/frontend/src/app/shared/components/header-project-select/header-project-select.component.sass
@@ -1,2 +1,2 @@
-.op-project-menu-autocomplete
+.op-header-project-select
max-width: 100%
diff --git a/frontend/src/global_styles/common/header/app-menu.sass b/frontend/src/global_styles/common/header/app-menu.sass
index 146fa90ef42..bc808270260 100644
--- a/frontend/src/global_styles/common/header/app-menu.sass
+++ b/frontend/src/global_styles/common/header/app-menu.sass
@@ -33,7 +33,7 @@
color: var(--header-item-font-color)
font-size: var(--header-item-font-size)
text-decoration: none
- padding: 0 15px
+ padding: 0 8px
min-width: 0px
.op-app-menu--item_dropdown-open &,
diff --git a/frontend/src/global_styles/common/header/main-menu-toggle.sass b/frontend/src/global_styles/common/header/main-menu-toggle.sass
index bb6774d82ba..de3ef2168f4 100644
--- a/frontend/src/global_styles/common/header/main-menu-toggle.sass
+++ b/frontend/src/global_styles/common/header/main-menu-toggle.sass
@@ -3,3 +3,6 @@
@at-root .nosidebar &
display: none
+
+ &--button
+ padding-left: 16px