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

Adjust spacings in sidebar

Henriette Darge00fe8ef32ec1
diff --git a/app/components/enterprise_edition/trial_teaser_component.rb b/app/components/enterprise_edition/trial_teaser_component.rb
index 933374769ed..6af20ce95a8 100644
--- a/app/components/enterprise_edition/trial_teaser_component.rb
+++ b/app/components/enterprise_edition/trial_teaser_component.rb
@@ -43,9 +43,7 @@ module EnterpriseEdition
def set_system_arguments(system_arguments)
@system_arguments = system_arguments
@system_arguments[:tag] = :div
- @system_arguments[:mx] = 2
- @system_arguments[:mt] = 2
- @system_arguments[:mb] = 3
+ @system_arguments[:my] = 2
@system_arguments[:id] = "op-enterprise-banner-teaser"
@system_arguments[:test_selector] = "op-enterprise-banner"
@system_arguments[:classes] = class_names(
diff --git a/app/components/open_project/common/submenu_component.sass b/app/components/open_project/common/submenu_component.sass
index d88e60ad846..1b88afe64e7 100644
--- a/app/components/open_project/common/submenu_component.sass
+++ b/app/components/open_project/common/submenu_component.sass
@@ -8,7 +8,7 @@
top: 0
z-index: 1
background: var(--main-menu-bg-color)
- padding: 12px var(--main-menu-x-spacing)
+ padding: 4px 0
color: var(--main-menu-font-color)
display: flex
flex-direction: column
diff --git a/frontend/src/global_styles/layout/_main_menu.sass b/frontend/src/global_styles/layout/_main_menu.sass
index aefc3bc6b2f..eecd021314e 100644
--- a/frontend/src/global_styles/layout/_main_menu.sass
+++ b/frontend/src/global_styles/layout/_main_menu.sass
@@ -190,7 +190,7 @@ $arrow-left-width: 36px
top: 0
z-index: 1
background: var(--main-menu-bg-color)
- padding: 0px 10px 0 0px
+ padding: 0
height: calc(var(--main-menu-item-height) + 10px)
.main-menu--arrow-left-to-project:not(.Button)