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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use the existing overflow class instead of a custom css rule. The cost_types did not need the overflow selector any more as the datepicker was rendered as direct child of the DOM anyway.
Henriette Dargee0f86e087954
diff --git a/app/components/members/table_component.rb b/app/components/members/table_component.rbindex 1737238a52f..d0cb617fd29 100644--- a/app/components/members/table_component.rb+++ b/app/components/members/table_component.rb@@ -101,6 +101,10 @@ module Members{ caption: }end+ def container_class+ "generic-table--container_visible-overflow"+ end+### Adjusts the order so that users are joined to support# sorting by their attributesdiff --git a/app/components/table_component.html.erb b/app/components/table_component.html.erbindex 6fe25f4f57f..f3162d84db3 100644--- a/app/components/table_component.html.erb+++ b/app/components/table_component.html.erb@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<div class="generic-table--container" data-test-selector="<%= test_selector %>">+<div class="generic-table--container <%= container_class %>" data-test-selector="<%= test_selector %>"><div class="generic-table--results-container"><table class="generic-table"><colgroup>diff --git a/app/components/table_component.rb b/app/components/table_component.rbindex c1c85c05fcc..0494a92862c 100644--- a/app/components/table_component.rb+++ b/app/components/table_component.rb@@ -157,6 +157,10 @@ class TableComponent < ApplicationComponentself.class.row_classend+ def container_class+ self.class.container_class+ end+def columnsself.class.columnsenddiff --git a/frontend/src/global_styles/content/_members.sass b/frontend/src/global_styles/content/_members.sassindex 9d622a53de5..df6c4ea4cfb 100644--- a/frontend/src/global_styles/content/_members.sass+++ b/frontend/src/global_styles/content/_members.sass@@ -71,10 +71,3 @@max-width: 60%selectmax-width: 60%--// Ugly hack copied from projects list. Firefox doesn't yet support popover-// attribute by default, so popup menu is clipped by overflow-body.controller-members.action-index- #content- .generic-table--container- overflow: visiblediff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sassindex eae4123ca54..c005aab3858 100644--- a/frontend/src/global_styles/content/_table.sass+++ b/frontend/src/global_styles/content/_table.sass@@ -67,9 +67,7 @@ $toolbar-height--mobile: 100pxpadding-bottom: var(--generic-table--footer-height)&_visible-overflow- &,- .generic-table--results-container- overflow: visible+ overflow: visible.generic-table--results-containerheight: 100%diff --git a/modules/costs/app/views/cost_types/edit.html.erb b/modules/costs/app/views/cost_types/edit.html.erbindex ccdfcc7cb39..9457795b873 100644--- a/modules/costs/app/views/cost_types/edit.html.erb+++ b/modules/costs/app/views/cost_types/edit.html.erb@@ -57,7 +57,7 @@ See COPYRIGHT and LICENSE files for more details.</div><h3><%= t :caption_rate_history %></h3>- <div class="generic-table--container generic-table--container_visible-overflow">+ <div class="generic-table--container"><div class="generic-table--results-container"><table class="generic-table"><colgroup>