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 overflow for cost types date picker

Benjamin Bädorfeacbc7528d26
diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sass
index 56c3e18cac3..f6b95ec1e70 100644
--- a/frontend/src/global_styles/content/_table.sass
+++ b/frontend/src/global_styles/content/_table.sass
@@ -63,7 +63,9 @@ $toolbar-height--mobile: 100px
padding-bottom: var(--generic-table--footer-height)
&_visible-overflow
- overflow: visible
+ &,
+ .generic-table--results-container
+ overflow: visible
.generic-table--results-container
height: 100%
diff --git a/modules/costs/app/views/cost_types/_rate.html.erb b/modules/costs/app/views/cost_types/_rate.html.erb
index fd514cc55fe..a9ca7d635af 100644
--- a/modules/costs/app/views/cost_types/_rate.html.erb
+++ b/modules/costs/app/views/cost_types/_rate.html.erb
@@ -48,7 +48,7 @@ See COPYRIGHT and LICENSE files for more details.
<% end %>
<%= fields_for prefix, rate do |rate_form| %>
<tr class="subform-row <%= classes %>" id="<%= id_prefix %>">
- <td>
+ <td class="-no-ellipsis">
<label class="hidden-for-sighted" for="<%= "#{id_prefix}_valid_from" %>"><%= Rate.human_attribute_name(:valid_from) %></label>
<!--
<%= rate_form.date_field :valid_from,
diff --git a/modules/costs/app/views/cost_types/edit.html.erb b/modules/costs/app/views/cost_types/edit.html.erb
index 5aa50c864eb..798b040fbee 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">
+ <div class="generic-table--container generic-table--container_visible-overflow">
<div class="generic-table--results-container">
<table class="generic-table">
<colgroup>