Fix overflow for cost types date picker

feature/42358-standardise-date-pickers-drop-modal-portal
Benjamin Bädorf 2 years ago
parent dc6417e14a
commit eacbc7528d
No known key found for this signature in database
GPG Key ID: 069CA2D117AB5CCF
  1. 4
      frontend/src/global_styles/content/_table.sass
  2. 2
      modules/costs/app/views/cost_types/_rate.html.erb
  3. 2
      modules/costs/app/views/cost_types/edit.html.erb

@ -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%

@ -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,

@ -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>

Loading…
Cancel
Save