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 teaser positioning

Mir Bhatia7f7292d33e68
diff --git a/frontend/src/global_styles/layout/_main_menu.sass b/frontend/src/global_styles/layout/_main_menu.sass
index 630ef50ab64..4adfe007903 100644
--- a/frontend/src/global_styles/layout/_main_menu.sass
+++ b/frontend/src/global_styles/layout/_main_menu.sass
@@ -51,6 +51,8 @@ $arrow-left-width: 40px
background-color: var(--main-menu-bg-color)
#menu-sidebar
+ display: flex
+ flex-direction: column
+allow-vertical-scrolling
height: calc(100vh - var(--header-height))
position: relative
@@ -210,6 +212,8 @@ a.main-menu--parent-node:not(.Button)
// logic for showing either parent or child menu
.main-menu
ul.menu_root
+ flex-grow: 1
+
&.closed
li
display: none
@@ -263,7 +267,7 @@ a.main-menu--parent-node:not(.Button)
.main-menu--children
display: none
-#sidebar
+#sidebar:has(> *)
margin: 30px 0 0 0
#sidebar, #menu-sidebar .sidebar