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 drop-down buttons position style, after clicking on a drop-down button it was not opened

bsatarnejadc9b09b1244e4
diff --git a/frontend/src/global_styles/layout/_drop_down.sass b/frontend/src/global_styles/layout/_drop_down.sass
index 62009cb80a1..aa0c69ecf90 100644
--- a/frontend/src/global_styles/layout/_drop_down.sass
+++ b/frontend/src/global_styles/layout/_drop_down.sass
@@ -38,7 +38,9 @@
// ---------------------------- SHARED styles --------------------------------
.dropdown,
.drop-down .menu-drop-down-container
- position: absolute
+ // primer styles for dropdown sets its position to relative
+ // we need to prioritize the absolute position here with !important
+ position: absolute !important
z-index: 9999999
.dropdown .dropdown-menu,
@@ -53,6 +55,11 @@
overflow: visible
padding: 3px 0
margin: 0
+ position: relative
+ width: auto
+
+.dropdown-menu::before, .dropdown-menu::after
+ content: none
.dropdown .dropdown-menu,
.drop-down .menu-drop-down-container