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

Fix side spacings for app-header, add quick-add-menu to mobile

Benjamin Bädorfa9284cdb77e1
diff --git a/frontend/src/global_styles/common/header/app-header.sass b/frontend/src/global_styles/common/header/app-header.sass
index cbc02da098c..1656ec5d6c7 100644
--- a/frontend/src/global_styles/common/header/app-header.sass
+++ b/frontend/src/global_styles/common/header/app-header.sass
@@ -12,6 +12,7 @@
border-bottom-width: var(--header-border-bottom-width)
border-bottom-color: var(--header-border-bottom-color)
width: 100vw
+ padding: 0 $spot-spacing-0_25
@media screen and (max-width: 679px)
grid-template-columns: minmax(0, auto) auto 1fr
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 de3ef2168f4..bb6774d82ba 100644
--- a/frontend/src/global_styles/common/header/main-menu-toggle.sass
+++ b/frontend/src/global_styles/common/header/main-menu-toggle.sass
@@ -3,6 +3,3 @@
@at-root .nosidebar &
display: none
-
- &--button
- padding-left: 16px
diff --git a/frontend/src/global_styles/common/header/quick-add-menu.sass b/frontend/src/global_styles/common/header/quick-add-menu.sass
index fd73e5dc8df..a28a2264ee7 100644
--- a/frontend/src/global_styles/common/header/quick-add-menu.sass
+++ b/frontend/src/global_styles/common/header/quick-add-menu.sass
@@ -1,10 +1,8 @@
-$background: var(--button--alt-highlight-background-color)
-$background-hover: var(--button--alt-highlight-background-hover-color)
-$color: var(--button--alt-highlight-font-color)
-
.op-quick-add-menu
- @include breakpoint(680px down)
- display: none
+ $background: var(--button--alt-highlight-background-color)
+ $background-hover: var(--button--alt-highlight-background-hover-color)
+ $color: var(--button--alt-highlight-font-color)
+ flex-shrink: 0
&--icon::before
display: flex